﻿<%@ Page Language="C#" MasterPageFile="~/car-insurance/Car_Insurance.master" AutoEventWireup="true"
    CodeFile="offline-quote.aspx.cs" Async="true" EnableEventValidation="false" MaintainScrollPositionOnPostback="true"
    Inherits="car_insurance_offline_quote" %>

<%@ Register Src="~/controls/usrNoJS.ascx" TagName="usrNoJS" TagPrefix="ucNoJS" %>
<%@ Register Src="~/controls/usrPhoneNo.ascx" TagName="usrPhoneNo" TagPrefix="uc1" %>
<%@ Register Src="~/controls/usrIdNumber.ascx" TagName="usrIdNumber" TagPrefix="uc2" %>
<%@ Register Src="~/controls/usrDate.ascx" TagName="usrDate" TagPrefix="uc3" %>
<asp:Content ID="Content1" ContentPlaceHolderID="ContentPlaceHolder1" runat="Server">
  <link rel="stylesheet" type="text/css" href="../css/callme.css" />
    <div id="divContent">
        <div class="form_selection" id="divFormSelection" runat="server">
            <h3>
                <asp:Label ID="lblProvider" runat="server"></asp:Label></h3>
            <div class="selection_wrap">
                <span class="fs_lbl">Make\Model : </span>
                <asp:Label ID="lblCarMakemodelTop" class="fs_lbl_m" runat="server" /><!--MERCEDES BENZ 190E</span>-->
                <span class="fs_lbl_r">Year of Registration : </span>
                <asp:Label ID="lblYrofRegisterTop" class="fs_lbl_m" runat="server" /><!--2009</span>-->
                <span class="fs_lbl_r">Renewal NCD : </span>
                <asp:Label ID="lblAppNCDvalueTop" class="fs_lbl_m" runat="server" /><!--10</span>-->
                <span class="fs_lbl_r">Commencement Date : </span>
                <asp:Label ID="lblCommencementdateTop" runat="server" /><!--18-October-2011</span>-->
            </div>
        </div>
        <div id="contentBody_full">
            <div style="text-align: left; display: block;" id="divCarMenu" runat="server">
                <ul id="stp_menu">
                    <li class="stp1_r">
                        <asp:HyperLink ID="hplCarDetails" NavigateUrl="~/car-insurance/" runat="server"><span class="stp_r_g">Car Details</span></asp:HyperLink>
                    </li>
                    <li class="stp2_r">
                        <asp:HyperLink ID="hplProfile" NavigateUrl="#" runat="server"><span class="stp_r_g">Your Details</span></asp:HyperLink></li>
                    <li class="stp3_r">
                        <asp:HyperLink ID="hplCarResults" NavigateUrl="~/car-insurance/results-new.aspx" runat="server"><span class="active_r">Compare & Buy Now</span></asp:HyperLink></li>
                    <%--<li class="stp4"><a href="#"><span class="stp_r">Buy Direct</span></a></li>--%>
                </ul>
                <div class="seperator">
                </div>
                <div class="clear">
                </div>
            </div>
            <div class="section">
                <fieldset>
                    <div class="form_subbox" id="divSummaryBox" runat="server" >
                        <div style="float: left; position: absolute; margin-left: 190px; width: 190px; height: 24px;
                                margin-top: 5px;">
                            <asp:Button ID="btnNewQuote" runat="server" OnClick="btnNewQuote_Click" CssClass="button_w_run-new-quotes" 
                                />
                            <%--<asp:ImageButton ID="ibtRunNewQuote" AlternateText="Run New Quote" ImageUrl="~/images/buttons/run_quotes.gif"
                                OnClick="ibtRunNewQuote_Click" runat="server" />--%>
                        </div>
                        <div class="trigger open">
                            <a href="#">Open</a></div>
                        <div id="divQuoteSummery">
                            <div class="divhalf">
                                <div class="row3">
                                    <label for="name">
                                        Year of Manufacture</label>
                                    <div class="field">
                                        <span class="indicator">
                                            <asp:Label ID="lblYrofManufacture" runat="server"></asp:Label>
                                        </span>
                                    </div>
                                    <div class="clear">
                                    </div>
                                </div>
                                <div class="row3">
                                    <label for="name">
                                        Year of Registration</label>
                                    <div class="field">
                                        <span class="indicator">
                                            <asp:Label ID="lblYrofRegister" runat="server"></asp:Label>
                                        </span>
                                    </div>
                                    <div class="clear">
                                    </div>
                                </div>
                                <div class="row3">
                                    <label for="name">
                                        Car Make & Model</label>
                                    <div class="field">
                                        <span class="indicator">
                                            <asp:Label ID="lblCarMakemodel" runat="server"></asp:Label>
                                        </span>
                                    </div>
                                    <div class="clear">
                                    </div>
                                </div>
                                <div class="row3">
                                    <label for="name">
                                        Offpeak Vehicle?</label>
                                    <div class="field">
                                        <span class="indicator">
                                            <asp:Label ID="lblOffpeakvehile" runat="server"></asp:Label>
                                        </span>
                                    </div>
                                    <div class="clear">
                                    </div>
                                </div>
                                <div class="row3">
                                    <label for="name">
                                        Current/Existing NCD</label>
                                    <div class="field">
                                        <span class="indicator">
                                            <asp:Label ID="lblNCDvalue" runat="server"></asp:Label>
                                        </span>
                                    </div>
                                    <div class="clear">
                                    </div>
                                </div>
                            </div>
                            <div class="divhalf">
                                <div class="row3">
                                    <label for="name">
                                        Applicable/Renewal NCD</label>
                                    <div class="field">
                                        <span class="indicator">
                                            <asp:Label ID="lblAppNCDvalue" runat="server"></asp:Label>
                                        </span>
                                    </div>
                                    <div class="clear">
                                    </div>
                                </div>
                                <div class="row3">
                                    <label for="name">
                                        Any Claims in the Last 3 Years?</label>
                                    <div class="field">
                                        <span class="indicator">
                                            <asp:Label ID="lblAnyclaim" runat="server"></asp:Label>
                                        </span>
                                    </div>
                                    <div class="clear">
                                    </div>
                                </div>
                                <div class="row3">
                                    <label for="name">
                                        Offence-Free Driving/COM</label>
                                    <div class="field">
                                        <span class="indicator">
                                            <asp:Label ID="lblOffenceDriving" runat="server"></asp:Label>
                                        </span>
                                    </div>
                                    <div class="clear">
                                    </div>
                                </div>
                                <div class="row3">
                                    <label for="name">
                                        Add Additional Name Driver</label>
                                    <div class="field">
                                        <span class="indicator">
                                            <asp:Label ID="lblAddDriver" runat="server"></asp:Label>
                                        </span>
                                        <div style="display: none;">
                                            <asp:TextBox ID="txtDriverCount" runat="server" Text="0"></asp:TextBox></div>
                                    </div>
                                    <div class="clear">
                                    </div>
                                </div>
                                <div class="row3">
                                    <label for="name">
                                        Cover Commencement Date</label>
                                    <div class="field">
                                        <span class="indicator">
                                            <asp:Label ID="lblCommencementdate" runat="server"></asp:Label>
                                        </span>
                                    </div>
                                    <div class="clear">
                                    </div>
                                </div>
                            </div>
                        </div>
                        <div class="clear">
                        </div>
                    </div>
                </fieldset>
                <div class="seperator">
                </div>
                <div class="clear">
                </div>
                <div id="divNoInstantMatchFound" runat="server" >
                    <a name="acallme"></a>
                    <div id="callme">
                        <div class="container">
                            <fieldset class="formouter">
                                <div class="offline_info">
                                    Commence. Date:
                                    <asp:Label ID="lblCommencementDateOffline" runat="server" CssClass="blk_lbl p10r"></asp:Label>
                                    <label class="blk_lbl p10r">
                                        |</label>
                                    Current Insurer:
                                    <asp:Label ID="lblCurrentInsurer" runat="server" CssClass="blk_lbl"></asp:Label>
                                </div>
                                <div class="header">
                                    <img src="/images/callme/request_offline.gif" width="483" height="31" alt="Offline Quotes" />
                                </div>
                                <div class="seperator">
                                </div>
                                <div class="body">
                                    <p>
                                        No matching online quote. Engage an insurance broker to find you the best deal by
                                        completing the below.
                                    </p>
                                    <div id="divValidationSummary">
                                        <div>
                                            <asp:ValidationSummary ID="vsproposal" runat="server" ValidationGroup="carrefuser"
                                                ShowSummary="True" HeaderText="Oops... Please complete the highlighted field"
                                                CssClass="errorSummary" />
                                        </div>
                                    </div>
                                    <asp:Label ID="lblRMessage" runat="server" Visible="false"></asp:Label>
                                    <div class="row_border">
                                        <div class="w270px left">
                                            Full Name:</div>
                                        <div class="blue left">
                                            <asp:TextBox ID="txtFullName" Width="250" MaxLength="80" runat="server"></asp:TextBox>
                                            <asp:RequiredFieldValidator ID="rfvFullName" runat="server" validationErrorCssClass="validationError"
                                                ValidationGroup="carrefuser" ErrorMessage="" Text="" ControlToValidate="txtFullName"></asp:RequiredFieldValidator>
                                            <asp:RegularExpressionValidator ID="revFullName" runat="server" ValidationGroup="carrefuser"
                                                ValidationExpression="^[a-zA-Z''-'\s]{1,80}$" validationErrorCssClass="validationError"
                                                ControlToValidate="txtFullName" ErrorMessage=""></asp:RegularExpressionValidator>
                                        </div>
                                        <div class="clear">
                                        </div>
                                    </div>
                                    <div class="row_border">
                                        <div class="w270px left">
                                            NRIC:</div>
                                        <div class="blue left">
                                            <uc2:usrIdNumber ID="ddlIdNumber" runat="server" ValidationGroup="carrefuser" />
                                        </div>
                                        <div class="clear">
                                        </div>
                                    </div>
                                    <div class="row_border">
                                        <div class="w270px left">
                                            Vehicle Number:</div>
                                        <div class="left">
                                            <asp:TextBox ID="txtVehicleNo" runat="server" MaxLength="10"></asp:TextBox>
                                            <asp:RequiredFieldValidator ID="rfvVehicleNo" runat="server" validationErrorCssClass="validationError"
                                                ErrorMessage="" ValidationGroup="carrefuser" ControlToValidate="txtVehicleNo"
                                                Display="Dynamic"></asp:RequiredFieldValidator>
                                            <asp:RegularExpressionValidator ID="revVehicleNo" runat="server" ValidationExpression="[a-zA-Z]{2,3}\d{2,4}[a-zA-Z]"
                                                ControlToValidate="txtVehicleNo" ValidationGroup="carrefuser" Text="" ErrorMessage=""
                                                validationErrorCssClass="validationError"></asp:RegularExpressionValidator>
                                            <%--<asp:CustomValidator ID="csvVehicleNo" runat="server" OnServerValidate="CheckVehicleNumber"
                                                        ControlToValidate="txtVehicleNo" ValidationGroup="carrefuser" Text="" ErrorMessage="Vehicle number is wrong."
                                                        validationErrorCssClass="validationError"></asp:CustomValidator>--%>
                                        </div>
                                        <div class="clear">
                                        </div>
                                    </div>
                                    <div class="row_border">
                                        <div class="w270px left">
                                            Driving License Pass Date:</div>
                                        <div class="left">
                                            <uc3:usrDate ID="usrDrivingLicenseDate" runat="server" ValidationGroup="carrefuser"
                                                IsAllowGreaterThanToday="false" />
                                        </div>
                                        <div class="clear">
                                        </div>
                                    </div>
                                    <asp:Panel ID="pnlClaims" runat="server" Visible="false">
                                        <asp:Panel runat="server" ID="pnlClaimLast3" Visible="false">
                                            <div class="row_border">
                                                <div class="w270px left">
                                                    No. of Claims: (<asp:Label ID="lblLastYear" runat="server" Text="" CssClass="blacklbl"></asp:Label>)</div>
                                                <div class="left">
                                                    <asp:DropDownList ID="ddlNoOfClaim3" runat="server" Enabled="false">
                                                        <asp:ListItem Value="-1" Selected="True">Select</asp:ListItem>
                                                        <asp:ListItem>1</asp:ListItem>
                                                        <asp:ListItem>2</asp:ListItem>
                                                        <asp:ListItem>3</asp:ListItem>
                                                    </asp:DropDownList>
                                                    <asp:RequiredFieldValidator ID="rfvNoOfClaim3" runat="server" validationErrorCssClass="validationError"
                                                        ErrorMessage="" ValidationGroup="carrefuser" ControlToValidate="ddlNoOfClaim3"
                                                        InitialValue="-1" Display="Dynamic"></asp:RequiredFieldValidator>
                                                    &nbsp; S$<asp:Label runat="server" ID="lblLast3ClaimValue" Text="0"></asp:Label>
                                                </div>
                                                <br />
                                                <div class="w270px left">
                                                    <asp:Label runat="server" ID="lblbreakdown3" Text="Please breakdown claim to:" CssClass="blacklbl"></asp:Label>
                                                </div>
                                                <div class="left">
                                                    <div id="divClaimLast3" runat="server">
                                                        <table>
                                                            <tr>
                                                                <td>
                                                                    <table border="0" cellpadding="1" width="310px" runat="server" id="tblLast3Claim1">
                                                                        <tr>
                                                                            <td colspan="2">
                                                                                Claim Value 1 ($)
                                                                            </td>
                                                                        </tr>
                                                                        <tr>
                                                                            <td>
                                                                                Not At fault
                                                                            </td>
                                                                            <td>
                                                                                <asp:TextBox runat="server" ID="txtClaimLast3NAF1" Width="60px" onchange="CheckLast3Claim1ValidationCss(); "
                                                                                    MaxLength="8" Text="0" onkeypress="restrictToNumbers(event)"></asp:TextBox>
                                                                                <asp:RequiredFieldValidator ID="rfvClaimLast3NAF1" runat="server" validationErrorCssClass="validationError"
                                                                                    ErrorMessage="" ValidationGroup="carrefuser" ControlToValidate="txtClaimLast3NAF1"
                                                                                    Display="Dynamic"></asp:RequiredFieldValidator>
                                                                                <asp:RegularExpressionValidator ID="revClaimLast3NAF1" runat="server" ValidationExpression="^[0-9]+(\.[0-9]{1,2})?$"
                                                                                    ControlToValidate="txtClaimLast3NAF1" ValidationGroup="carrefuser" Text="" ErrorMessage=""
                                                                                    validationErrorCssClass="validationError"></asp:RegularExpressionValidator>
                                                                                <asp:CustomValidator ID="cvClaimLast3NAF1" runat="server" ValidationGroup="carrefuser"
                                                                                    validationErrorCssClass="validationError" Text="" ErrorMessage="" ClientValidationFunction="CheckLast3Claim1"
                                                                                    OnServerValidate="CheckLast3Claim1" ControlToValidate="txtClaimLast3NAF1">
                                                                                </asp:CustomValidator>
                                                                            </td>
                                                                        </tr>
                                                                        <tr>
                                                                            <td>
                                                                                At fault
                                                                            </td>
                                                                            <td>
                                                                                <asp:TextBox runat="server" ID="txtClaimLast3AF1" Width="60px" onchange="CheckLast3Claim1ValidationCss();"
                                                                                    MaxLength="8" Text="0" onkeypress="restrictToNumbers(event)"></asp:TextBox>
                                                                                <asp:RequiredFieldValidator ID="rfvClaimLast3AF1" runat="server" validationErrorCssClass="validationError"
                                                                                    ErrorMessage="" ValidationGroup="carrefuser" ControlToValidate="txtClaimLast3AF1"
                                                                                    Display="Dynamic"></asp:RequiredFieldValidator>
                                                                                <asp:RegularExpressionValidator ID="revClaimLast3AF1" runat="server" ValidationExpression="^[0-9]+(\.[0-9]{1,2})?$"
                                                                                    ControlToValidate="txtClaimLast3AF1" ValidationGroup="carrefuser" Text="" ErrorMessage=""
                                                                                    validationErrorCssClass="validationError"></asp:RegularExpressionValidator>
                                                                                <asp:CustomValidator ID="cvClaimLast3AF1" runat="server" ValidationGroup="carrefuser"
                                                                                    validationErrorCssClass="validationError" Text="" ErrorMessage="" ClientValidationFunction="CheckLast3Claim1"
                                                                                    OnServerValidate="CheckLast3Claim1" ControlToValidate="txtClaimLast3AF1">
                                                                                </asp:CustomValidator>
                                                                            </td>
                                                                        </tr>
                                                                        <tr>
                                                                            <td>
                                                                                Windscreen
                                                                            </td>
                                                                            <td>
                                                                                <asp:TextBox runat="server" ID="txtClaimLast3Windscreen1" onchange="CheckLast3Claim1ValidationCss();"
                                                                                    MaxLength="8" Text="0" Width="60px" onkeypress="restrictToNumbers(event)"></asp:TextBox>
                                                                                <asp:RequiredFieldValidator ID="rfvClaimLast3Windscreen1" runat="server" validationErrorCssClass="validationError"
                                                                                    ErrorMessage="" ValidationGroup="carrefuser" ControlToValidate="txtClaimLast3Windscreen1"
                                                                                    Display="Dynamic"></asp:RequiredFieldValidator>
                                                                                <asp:RegularExpressionValidator ID="revClaimLast3Windscreen1" runat="server" ValidationExpression="^[0-9]+(\.[0-9]{1,2})?$"
                                                                                    ControlToValidate="txtClaimLast3Windscreen1" ValidationGroup="carrefuser" Text=""
                                                                                    ErrorMessage="" validationErrorCssClass="validationError"></asp:RegularExpressionValidator>
                                                                                <asp:CustomValidator ID="cvClaimLast3Windscreen1" runat="server" ValidationGroup="carrefuser"
                                                                                    validationErrorCssClass="validationError" Text="" ErrorMessage="" ClientValidationFunction="CheckLast3Claim1"
                                                                                    OnServerValidate="CheckLast3Claim1" ControlToValidate="txtClaimLast3Windscreen1">
                                                                                </asp:CustomValidator>
                                                                            </td>
                                                                        </tr>
                                                                        <tr>
                                                                            <td>
                                                                                Accident Date
                                                                            </td>
                                                                            <td>
                                                                                <uc3:usrDate ID="usrClaimLast3AccidentDate1" runat="server" ValidationGroup="carrefuser" />
                                                                            </td>
                                                                        </tr>
                                                                    </table>
                                                                </td>
                                                                <td>
                                                                    <table border="0" cellpadding="1" width="310px" runat="server" id="tblLast3Claim2">
                                                                        <tr>
                                                                            <td colspan="2">
                                                                                Claim Value 2 ($)
                                                                            </td>
                                                                        </tr>
                                                                        <tr>
                                                                            <td>
                                                                                Not At fault
                                                                            </td>
                                                                            <td>
                                                                                <asp:TextBox runat="server" ID="txtClaimLast3NAF2" Width="60px" onchange="CheckLast3Claim2ValidationCss()"
                                                                                    MaxLength="8" Text="0" onkeypress="restrictToNumbers(event)"></asp:TextBox>
                                                                                <asp:RequiredFieldValidator ID="rfvClaimLast3NAF2" runat="server" validationErrorCssClass="validationError"
                                                                                    ErrorMessage="" ValidationGroup="carrefuser" ControlToValidate="txtClaimLast3NAF2"
                                                                                    Display="Dynamic"></asp:RequiredFieldValidator>
                                                                                <asp:RegularExpressionValidator ID="revClaimLast3NAF2" runat="server" ValidationExpression="^[0-9]+(\.[0-9]{1,2})?$"
                                                                                    ControlToValidate="txtClaimLast3NAF2" ValidationGroup="carrefuser" Text="" ErrorMessage=""
                                                                                    validationErrorCssClass="validationError"></asp:RegularExpressionValidator>
                                                                                <asp:CustomValidator ID="cvClaimLast3NAF2" runat="server" ValidationGroup="carrefuser"
                                                                                    validationErrorCssClass="validationError" Text="" ErrorMessage="" ClientValidationFunction="CheckLast3Claim2"
                                                                                    OnServerValidate="CheckLast3Claim2" ControlToValidate="txtClaimLast3NAF2"></asp:CustomValidator>
                                                                            </td>
                                                                        </tr>
                                                                        <tr>
                                                                            <td>
                                                                                At fault
                                                                            </td>
                                                                            <td>
                                                                                <asp:TextBox runat="server" ID="txtClaimLast3AF2" Width="60px" onchange="CheckLast3Claim2ValidationCss()"
                                                                                    MaxLength="8" Text="0" onkeypress="restrictToNumbers(event)"></asp:TextBox>
                                                                                <asp:RequiredFieldValidator ID="rfvClaimLast3AF2" runat="server" validationErrorCssClass="validationError"
                                                                                    ErrorMessage="" ValidationGroup="carrefuser" ControlToValidate="txtClaimLast3AF2"
                                                                                    Display="Dynamic"></asp:RequiredFieldValidator>
                                                                                <asp:RegularExpressionValidator ID="revClaimLast3AF2" runat="server" ValidationExpression="^[0-9]+(\.[0-9]{1,2})?$"
                                                                                    ControlToValidate="txtClaimLast3AF2" ValidationGroup="carrefuser" Text="" ErrorMessage=""
                                                                                    validationErrorCssClass="validationError"></asp:RegularExpressionValidator>
                                                                                <asp:CustomValidator ID="cvClaimLast3AF2" runat="server" ValidationGroup="carrefuser"
                                                                                    validationErrorCssClass="validationError" Text="" ErrorMessage="" ClientValidationFunction="CheckLast3Claim2"
                                                                                    OnServerValidate="CheckLast3Claim2" ControlToValidate="txtClaimLast3AF2"></asp:CustomValidator>
                                                                            </td>
                                                                        </tr>
                                                                        <tr>
                                                                            <td>
                                                                                Windscreen
                                                                            </td>
                                                                            <td>
                                                                                <asp:TextBox runat="server" ID="txtClaimLast3Windscreen2" Width="60px" onchange="CheckLast3Claim2ValidationCss()"
                                                                                    MaxLength="8" Text="0" onkeypress="restrictToNumbers(event)"></asp:TextBox>
                                                                                <asp:RequiredFieldValidator ID="rfvClaimLast3Windscreen2" runat="server" validationErrorCssClass="validationError"
                                                                                    ErrorMessage="" ValidationGroup="carrefuser" ControlToValidate="txtClaimLast3Windscreen2"
                                                                                    Display="Dynamic"></asp:RequiredFieldValidator>
                                                                                <asp:RegularExpressionValidator ID="revClaimLast3Windscreen2" runat="server" ValidationExpression="^[0-9]+(\.[0-9]{1,2})?$"
                                                                                    ControlToValidate="txtClaimLast3Windscreen2" ValidationGroup="carrefuser" Text=""
                                                                                    ErrorMessage="" validationErrorCssClass="validationError"></asp:RegularExpressionValidator>
                                                                                <asp:CustomValidator ID="cvClaimLast3Windscreen2" runat="server" ValidationGroup="carrefuser"
                                                                                    validationErrorCssClass="validationError" Text="" ErrorMessage="" ClientValidationFunction="CheckLast3Claim2"
                                                                                    OnServerValidate="CheckLast3Claim2" ControlToValidate="txtClaimLast3Windscreen2"></asp:CustomValidator>
                                                                            </td>
                                                                        </tr>
                                                                        <tr>
                                                                            <td>
                                                                                Accident Date
                                                                            </td>
                                                                            <td>
                                                                                <uc3:usrDate ID="usrClaimLast3AccidentDate2" runat="server" ValidationGroup="carrefuser" />
                                                                            </td>
                                                                        </tr>
                                                                    </table>
                                                                </td>
                                                                <td>
                                                                    <table border="0" cellpadding="1" width="310px" runat="server" id="tblLast3Claim3">
                                                                        <tr>
                                                                            <td colspan="2">
                                                                                Claim Value 3 ($)
                                                                            </td>
                                                                        </tr>
                                                                        <tr>
                                                                            <td>
                                                                                Not At fault
                                                                            </td>
                                                                            <td>
                                                                                <asp:TextBox runat="server" ID="txtClaimLast3NAF3" Width="60px" onchange="CheckLast3Claim3ValidationCss()"
                                                                                    MaxLength="8" Text="0" onkeypress="restrictToNumbers(event)"></asp:TextBox>
                                                                                <asp:RequiredFieldValidator ID="rfvClaimLast3NAF3" runat="server" validationErrorCssClass="validationError"
                                                                                    ErrorMessage="" ValidationGroup="carrefuser" ControlToValidate="txtClaimLast3NAF3"
                                                                                    Display="Dynamic"></asp:RequiredFieldValidator>
                                                                                <asp:RegularExpressionValidator ID="revClaimLast3NAF3" runat="server" ValidationExpression="^[0-9]+(\.[0-9]{1,2})?$"
                                                                                    ControlToValidate="txtClaimLast3NAF3" ValidationGroup="carrefuser" Text="" ErrorMessage=""
                                                                                    validationErrorCssClass="validationError"></asp:RegularExpressionValidator>
                                                                                <asp:CustomValidator ID="cvClaimLast3NAF3" runat="server" ValidationGroup="carrefuser"
                                                                                    validationErrorCssClass="validationError" Text="" ErrorMessage="" ClientValidationFunction="CheckLast3Claim3"
                                                                                    OnServerValidate="CheckLast3Claim3" ControlToValidate="txtClaimLast3NAF3"></asp:CustomValidator>
                                                                            </td>
                                                                        </tr>
                                                                        <tr>
                                                                            <td>
                                                                                At fault
                                                                            </td>
                                                                            <td>
                                                                                <asp:TextBox runat="server" ID="txtClaimLast3AF3" Width="60px" onchange="CheckLast3Claim3ValidationCss()"
                                                                                    MaxLength="8" Text="0" onkeypress="restrictToNumbers(event)"></asp:TextBox>
                                                                                <asp:RequiredFieldValidator ID="rfvClaimLast3AF3" runat="server" validationErrorCssClass="validationError"
                                                                                    ErrorMessage="" ValidationGroup="carrefuser" ControlToValidate="txtClaimLast3AF3"
                                                                                    Display="Dynamic"></asp:RequiredFieldValidator>
                                                                                <asp:RegularExpressionValidator ID="revClaimLast3AF3" runat="server" ValidationExpression="^[0-9]+(\.[0-9]{1,2})?$"
                                                                                    ControlToValidate="txtClaimLast3AF3" ValidationGroup="carrefuser" Text="" ErrorMessage=""
                                                                                    validationErrorCssClass="validationError"></asp:RegularExpressionValidator>
                                                                                <asp:CustomValidator ID="cvClaimLast3AF3" runat="server" ValidationGroup="carrefuser"
                                                                                    validationErrorCssClass="validationError" Text="" ErrorMessage="" ClientValidationFunction="CheckLast3Claim3"
                                                                                    OnServerValidate="CheckLast3Claim3" ControlToValidate="txtClaimLast3AF3"></asp:CustomValidator>
                                                                            </td>
                                                                        </tr>
                                                                        <tr>
                                                                            <td>
                                                                                Windscreen
                                                                            </td>
                                                                            <td>
                                                                                <asp:TextBox runat="server" ID="txtClaimLast3Windscreen3" Width="60px" onchange="CheckLast3Claim3ValidationCss()"
                                                                                    MaxLength="8" Text="0" onkeypress="restrictToNumbers(event)"></asp:TextBox>
                                                                                <asp:RequiredFieldValidator ID="rfvClaimLast3Windscreen3" runat="server" validationErrorCssClass="validationError"
                                                                                    ErrorMessage="" ValidationGroup="carrefuser" ControlToValidate="txtClaimLast3Windscreen3"
                                                                                    Display="Dynamic"></asp:RequiredFieldValidator>
                                                                                <asp:RegularExpressionValidator ID="revClaimLast3Windscreen3" runat="server" ValidationExpression="^[0-9]+(\.[0-9]{1,2})?$"
                                                                                    ControlToValidate="txtClaimLast3Windscreen3" ValidationGroup="carrefuser" Text=""
                                                                                    ErrorMessage="" validationErrorCssClass="validationError"></asp:RegularExpressionValidator>
                                                                                <asp:CustomValidator ID="cvClaimLast3Windscreen3" runat="server" ValidationGroup="carrefuser"
                                                                                    validationErrorCssClass="validationError" Text="" ErrorMessage="" ClientValidationFunction="CheckLast3Claim3"
                                                                                    OnServerValidate="CheckLast3Claim3" ControlToValidate="txtClaimLast3Windscreen3"></asp:CustomValidator>
                                                                            </td>
                                                                        </tr>
                                                                        <tr>
                                                                            <td>
                                                                                Accident Date
                                                                            </td>
                                                                            <td>
                                                                                <uc3:usrDate ID="usrClaimLast3AccidentDate3" runat="server" ValidationGroup="carrefuser" />
                                                                            </td>
                                                                        </tr>
                                                                    </table>
                                                                </td>
                                                            </tr>
                                                        </table>
                                                    </div>
                                                </div>
                                                <div class="clear">
                                                </div>
                                            </div>
                                        </asp:Panel>
                                        <asp:Panel runat="server" ID="pnlClaimLast2" Visible="false">
                                            <div class="row_border">
                                                <div class="w270px left">
                                                    No. of Claims: (<asp:Label ID="lblLastTwoYear" runat="server" Text="" CssClass="blacklbl"></asp:Label>)</div>
                                                <div class="left">
                                                    <asp:DropDownList ID="ddlNoOfClaim2" runat="server" Enabled="false">
                                                        <asp:ListItem Value="-1" Selected="True">Select</asp:ListItem>
                                                        <asp:ListItem>1</asp:ListItem>
                                                        <asp:ListItem>2</asp:ListItem>
                                                        <asp:ListItem>3</asp:ListItem>
                                                    </asp:DropDownList>
                                                    <asp:RequiredFieldValidator ID="rfvNoOfClaim2" runat="server" validationErrorCssClass="validationError"
                                                        ErrorMessage="" ValidationGroup="carrefuser" ControlToValidate="ddlNoOfClaim2"
                                                        InitialValue="-1" Display="Dynamic"></asp:RequiredFieldValidator>
                                                    &nbsp; S$<asp:Label runat="server" ID="lblLast2ClaimValue" Text="0"></asp:Label>
                                                </div>
                                                <br />
                                                <div class="w270px left">
                                                    <asp:Label runat="server" ID="lblbreakdown2" Text="Please breakdown claim to:" CssClass="blacklbl"></asp:Label></div>
                                                <div class="left">
                                                    <div id="divClaimLast2" runat="server">
                                                        <table>
                                                            <tr>
                                                                <td>
                                                                    <table border="0" cellpadding="1" width="310px" runat="server" id="tblLast2Claim1">
                                                                        <tr>
                                                                            <td colspan="2">
                                                                                Claim Value 1 ($)
                                                                            </td>
                                                                        </tr>
                                                                        <tr>
                                                                            <td>
                                                                                Not At fault
                                                                            </td>
                                                                            <td>
                                                                                <asp:TextBox runat="server" ID="txtClaimLast2NAF1" Width="60px" onchange="CheckLast2Claim1ValidationCss()"
                                                                                    MaxLength="8" Text="0" onkeypress="restrictToNumbers(event)"></asp:TextBox>
                                                                                <asp:RequiredFieldValidator ID="rfvClaimLast2NAF1" runat="server" validationErrorCssClass="validationError"
                                                                                    ErrorMessage="" ValidationGroup="carrefuser" ControlToValidate="txtClaimLast2NAF1"
                                                                                    Display="Dynamic"></asp:RequiredFieldValidator>
                                                                                <asp:RegularExpressionValidator ID="revClaimLast2NAF1" runat="server" ValidationExpression="^[0-9]+(\.[0-9]{1,2})?$"
                                                                                    ControlToValidate="txtClaimLast2NAF1" ValidationGroup="carrefuser" Text="" ErrorMessage=""
                                                                                    validationErrorCssClass="validationError"></asp:RegularExpressionValidator>
                                                                                <asp:CustomValidator ID="cvClaimLast2NAF1" runat="server" ValidationGroup="carrefuser"
                                                                                    validationErrorCssClass="validationError" Text="" ErrorMessage="" ClientValidationFunction="CheckLast2Claim1"
                                                                                    OnServerValidate="CheckLast2Claim1" ControlToValidate="txtClaimLast2NAF1"></asp:CustomValidator>
                                                                            </td>
                                                                        </tr>
                                                                        <tr>
                                                                            <td>
                                                                                At fault
                                                                            </td>
                                                                            <td>
                                                                                <asp:TextBox runat="server" ID="txtClaimLast2AF1" Width="60px" onchange="CheckLast2Claim1ValidationCss()"
                                                                                    MaxLength="8" Text="0" onkeypress="restrictToNumbers(event)"></asp:TextBox>
                                                                                <asp:RequiredFieldValidator ID="rfvClaimLast2AF1" runat="server" validationErrorCssClass="validationError"
                                                                                    ErrorMessage="" ValidationGroup="carrefuser" ControlToValidate="txtClaimLast2AF1"
                                                                                    Display="Dynamic"></asp:RequiredFieldValidator>
                                                                                <asp:RegularExpressionValidator ID="revClaimLast2AF1" runat="server" ValidationExpression="^[0-9]+(\.[0-9]{1,2})?$"
                                                                                    ControlToValidate="txtClaimLast2AF1" ValidationGroup="carrefuser" Text="" ErrorMessage=""
                                                                                    validationErrorCssClass="validationError"></asp:RegularExpressionValidator>
                                                                                <asp:CustomValidator ID="cvClaimLast2AF1" runat="server" ValidationGroup="carrefuser"
                                                                                    validationErrorCssClass="validationError" Text="" ErrorMessage="" ClientValidationFunction="CheckLast2Claim1"
                                                                                    OnServerValidate="CheckLast2Claim1" ControlToValidate="txtClaimLast2AF1"></asp:CustomValidator>
                                                                            </td>
                                                                        </tr>
                                                                        <tr>
                                                                            <td>
                                                                                Windscreen
                                                                            </td>
                                                                            <td>
                                                                                <asp:TextBox runat="server" ID="txtClaimLast2Windscreen1" Width="60px" onchange="CheckLast2Claim1ValidationCss()"
                                                                                    MaxLength="8" Text="0" onkeypress="restrictToNumbers(event)"></asp:TextBox>
                                                                                <asp:RequiredFieldValidator ID="rfvClaimLast2Windscreen1" runat="server" validationErrorCssClass="validationError"
                                                                                    ErrorMessage="" ValidationGroup="carrefuser" ControlToValidate="txtClaimLast2Windscreen1"
                                                                                    Display="Dynamic"></asp:RequiredFieldValidator>
                                                                                <asp:RegularExpressionValidator ID="revClaimLast2Windscreen1" runat="server" ValidationExpression="^[0-9]+(\.[0-9]{1,2})?$"
                                                                                    ControlToValidate="txtClaimLast2Windscreen1" ValidationGroup="carrefuser" Text=""
                                                                                    ErrorMessage="" validationErrorCssClass="validationError"></asp:RegularExpressionValidator>
                                                                                <asp:CustomValidator ID="cvClaimLast2Windscreen1" runat="server" ValidationGroup="carrefuser"
                                                                                    validationErrorCssClass="validationError" Text="" ErrorMessage="" ClientValidationFunction="CheckLast2Claim1"
                                                                                    OnServerValidate="CheckLast2Claim1" ControlToValidate="txtClaimLast2Windscreen1"></asp:CustomValidator>
                                                                            </td>
                                                                        </tr>
                                                                        <tr>
                                                                            <td>
                                                                                Accident Date
                                                                            </td>
                                                                            <td>
                                                                                <uc3:usrDate ID="usrClaimLast2AccidentDate1" runat="server" ValidationGroup="carrefuser" />
                                                                            </td>
                                                                        </tr>
                                                                    </table>
                                                                </td>
                                                                <td>
                                                                    <table border="0" cellpadding="1" width="310px" runat="server" id="tblLast2Claim2">
                                                                        <tr>
                                                                            <td colspan="2">
                                                                                Claim Value 2 ($)
                                                                            </td>
                                                                        </tr>
                                                                        <tr>
                                                                            <td>
                                                                                Not At fault
                                                                            </td>
                                                                            <td>
                                                                                <asp:TextBox runat="server" ID="txtClaimLast2NAF2" Width="60px" onchange="CheckLast2Claim2ValidationCss()"
                                                                                    MaxLength="8" Text="0" onkeypress="restrictToNumbers(event)"></asp:TextBox>
                                                                                <asp:RequiredFieldValidator ID="rfvClaimLast2NAF2" runat="server" validationErrorCssClass="validationError"
                                                                                    ErrorMessage="" ValidationGroup="carrefuser" ControlToValidate="txtClaimLast2NAF2"
                                                                                    Display="Dynamic"></asp:RequiredFieldValidator>
                                                                                <asp:RegularExpressionValidator ID="revClaimLast2NAF2" runat="server" ValidationExpression="^[0-9]+(\.[0-9]{1,2})?$"
                                                                                    ControlToValidate="txtClaimLast2NAF2" ValidationGroup="carrefuser" Text="" ErrorMessage=""
                                                                                    validationErrorCssClass="validationError"></asp:RegularExpressionValidator>
                                                                                <asp:CustomValidator ID="cvClaimLast2NAF2" runat="server" ValidationGroup="carrefuser"
                                                                                    validationErrorCssClass="validationError" Text="" ErrorMessage="" ClientValidationFunction="CheckLast2Claim2"
                                                                                    OnServerValidate="CheckLast2Claim2" ControlToValidate="txtClaimLast2NAF2"></asp:CustomValidator>
                                                                            </td>
                                                                        </tr>
                                                                        <tr>
                                                                            <td>
                                                                                At fault
                                                                            </td>
                                                                            <td>
                                                                                <asp:TextBox runat="server" ID="txtClaimLast2AF2" Width="60px" onchange="CheckLast2Claim2ValidationCss()"
                                                                                    MaxLength="8" Text="0" onkeypress="restrictToNumbers(event)"></asp:TextBox>
                                                                                <asp:RequiredFieldValidator ID="rfvClaimLast2AF2" runat="server" validationErrorCssClass="validationError"
                                                                                    ErrorMessage="" ValidationGroup="carrefuser" ControlToValidate="txtClaimLast2AF2"
                                                                                    Display="Dynamic"></asp:RequiredFieldValidator>
                                                                                <asp:RegularExpressionValidator ID="revClaimLast2AF2" runat="server" ValidationExpression="^[0-9]+(\.[0-9]{1,2})?$"
                                                                                    ControlToValidate="txtClaimLast2AF2" ValidationGroup="carrefuser" Text="" ErrorMessage=""
                                                                                    validationErrorCssClass="validationError"></asp:RegularExpressionValidator>
                                                                                <asp:CustomValidator ID="cvClaimLast2AF2" runat="server" ValidationGroup="carrefuser"
                                                                                    validationErrorCssClass="validationError" Text="" ErrorMessage="" ClientValidationFunction="CheckLast2Claim2"
                                                                                    OnServerValidate="CheckLast2Claim2" ControlToValidate="txtClaimLast2AF2"></asp:CustomValidator>
                                                                            </td>
                                                                        </tr>
                                                                        <tr>
                                                                            <td>
                                                                                Windscreen
                                                                            </td>
                                                                            <td>
                                                                                <asp:TextBox runat="server" ID="txtClaimLast2Windscreen2" Width="60px" onchange="CheckLast2Claim2ValidationCss()"
                                                                                    MaxLength="8" Text="0" onkeypress="restrictToNumbers(event)"></asp:TextBox>
                                                                                <asp:RequiredFieldValidator ID="rfvClaimLast2Windscreen2" runat="server" validationErrorCssClass="validationError"
                                                                                    ErrorMessage="" ValidationGroup="carrefuser" ControlToValidate="txtClaimLast2Windscreen2"
                                                                                    Display="Dynamic"></asp:RequiredFieldValidator>
                                                                                <asp:RegularExpressionValidator ID="revClaimLast2Windscreen2" runat="server" ValidationExpression="^[0-9]+(\.[0-9]{1,2})?$"
                                                                                    ControlToValidate="txtClaimLast2Windscreen2" ValidationGroup="carrefuser" Text=""
                                                                                    ErrorMessage="" validationErrorCssClass="validationError"></asp:RegularExpressionValidator>
                                                                                <asp:CustomValidator ID="cvClaimLast2Windscreen2" runat="server" ValidationGroup="carrefuser"
                                                                                    validationErrorCssClass="validationError" Text="" ErrorMessage="" ClientValidationFunction="CheckLast2Claim2"
                                                                                    OnServerValidate="CheckLast2Claim2" ControlToValidate="txtClaimLast2Windscreen2"></asp:CustomValidator>
                                                                            </td>
                                                                        </tr>
                                                                        <tr>
                                                                            <td>
                                                                                Accident Date
                                                                            </td>
                                                                            <td>
                                                                                <uc3:usrDate ID="usrClaimLast2AccidentDate2" runat="server" ValidationGroup="carrefuser" />
                                                                            </td>
                                                                        </tr>
                                                                    </table>
                                                                </td>
                                                                <td>
                                                                    <table border="0" cellpadding="1" width="310px" runat="server" id="tblLast2Claim3">
                                                                        <tr>
                                                                            <td colspan="2">
                                                                                Claim Value 3 ($)
                                                                            </td>
                                                                        </tr>
                                                                        <tr>
                                                                            <td>
                                                                                Not At fault
                                                                            </td>
                                                                            <td>
                                                                                <asp:TextBox runat="server" ID="txtClaimLast2NAF3" Width="60px" onchange="CheckLast2Claim3ValidationCss()"
                                                                                    MaxLength="8" Text="0" onkeypress="restrictToNumbers(event)"></asp:TextBox>
                                                                                <asp:RequiredFieldValidator ID="rfvClaimLast2NAF3" runat="server" validationErrorCssClass="validationError"
                                                                                    ErrorMessage="" ValidationGroup="carrefuser" ControlToValidate="txtClaimLast2NAF3"
                                                                                    Display="Dynamic"></asp:RequiredFieldValidator>
                                                                                <asp:RegularExpressionValidator ID="revClaimLast2NAF3" runat="server" ValidationExpression="^[0-9]+(\.[0-9]{1,2})?$"
                                                                                    ControlToValidate="txtClaimLast2NAF3" ValidationGroup="carrefuser" Text="" ErrorMessage=""
                                                                                    validationErrorCssClass="validationError"></asp:RegularExpressionValidator>
                                                                                <asp:CustomValidator ID="cvClaimLast2NAF3" runat="server" ValidationGroup="carrefuser"
                                                                                    validationErrorCssClass="validationError" Text="" ErrorMessage="" ClientValidationFunction="CheckLast2Claim3"
                                                                                    OnServerValidate="CheckLast2Claim3" ControlToValidate="txtClaimLast2NAF3"></asp:CustomValidator>
                                                                            </td>
                                                                        </tr>
                                                                        <tr>
                                                                            <td>
                                                                                At fault
                                                                            </td>
                                                                            <td>
                                                                                <asp:TextBox runat="server" ID="txtClaimLast2AF3" Width="60px" onchange="CheckLast2Claim3ValidationCss()"
                                                                                    MaxLength="8" Text="0" onkeypress="restrictToNumbers(event)"></asp:TextBox>
                                                                                <asp:RequiredFieldValidator ID="rfvClaimLast2AF3" runat="server" validationErrorCssClass="validationError"
                                                                                    ErrorMessage="" ValidationGroup="carrefuser" ControlToValidate="txtClaimLast2AF3"
                                                                                    Display="Dynamic"></asp:RequiredFieldValidator>
                                                                                <asp:RegularExpressionValidator ID="revClaimLast2AF3" runat="server" ValidationExpression="^[0-9]+(\.[0-9]{1,2})?$"
                                                                                    ControlToValidate="txtClaimLast2AF3" ValidationGroup="carrefuser" Text="" ErrorMessage=""
                                                                                    validationErrorCssClass="validationError"></asp:RegularExpressionValidator>
                                                                                <asp:CustomValidator ID="cvClaimLast2AF3" runat="server" ValidationGroup="carrefuser"
                                                                                    validationErrorCssClass="validationError" Text="" ErrorMessage="" ClientValidationFunction="CheckLast2Claim3"
                                                                                    OnServerValidate="CheckLast2Claim3" ControlToValidate="txtClaimLast2AF3"></asp:CustomValidator>
                                                                            </td>
                                                                        </tr>
                                                                        <tr>
                                                                            <td>
                                                                                Windscreen
                                                                            </td>
                                                                            <td>
                                                                                <asp:TextBox runat="server" ID="txtClaimLast2Windscreen3" Width="60px" onchange="CheckLast2Claim3ValidationCss()"
                                                                                    MaxLength="8" Text="0" onkeypress="restrictToNumbers(event)"></asp:TextBox>
                                                                                <asp:RequiredFieldValidator ID="rfvClaimLast2Windscreen3" runat="server" validationErrorCssClass="validationError"
                                                                                    ErrorMessage="" ValidationGroup="carrefuser" ControlToValidate="txtClaimLast2Windscreen3"
                                                                                    Display="Dynamic"></asp:RequiredFieldValidator>
                                                                                <asp:RegularExpressionValidator ID="revClaimLast2Windscreen3" runat="server" ValidationExpression="^[0-9]+(\.[0-9]{1,2})?$"
                                                                                    ControlToValidate="txtClaimLast2Windscreen3" ValidationGroup="carrefuser" Text=""
                                                                                    ErrorMessage="" validationErrorCssClass="validationError"></asp:RegularExpressionValidator>
                                                                                <asp:CustomValidator ID="cvClaimLast2Windscreen3" runat="server" ValidationGroup="carrefuser"
                                                                                    validationErrorCssClass="validationError" Text="" ErrorMessage="" ClientValidationFunction="CheckLast2Claim3"
                                                                                    OnServerValidate="CheckLast2Claim3" ControlToValidate="txtClaimLast2Windscreen3"></asp:CustomValidator>
                                                                            </td>
                                                                        </tr>
                                                                        <tr>
                                                                            <td>
                                                                                Accident Date
                                                                            </td>
                                                                            <td>
                                                                                <uc3:usrDate ID="usrClaimLast2AccidentDate3" runat="server" ValidationGroup="carrefuser" />
                                                                            </td>
                                                                        </tr>
                                                                    </table>
                                                                </td>
                                                            </tr>
                                                        </table>
                                                    </div>
                                                </div>
                                                <div class="clear">
                                                </div>
                                            </div>
                                        </asp:Panel>
                                        <asp:Panel runat="server" ID="pnlClaimLast1" Visible="false">
                                            <div class="row_border">
                                                <div class="w270px left">
                                                    No. of Claims: (<asp:Label ID="lblLastThreeYear" runat="server" Text="" CssClass="blacklbl"></asp:Label>)</div>
                                                <div class="left">
                                                    <asp:DropDownList ID="ddlNoOfClaim1" runat="server" Enabled="false">
                                                        <asp:ListItem Value="-1" Selected="True">Select</asp:ListItem>
                                                        <asp:ListItem>1</asp:ListItem>
                                                        <asp:ListItem>2</asp:ListItem>
                                                        <asp:ListItem>3</asp:ListItem>
                                                    </asp:DropDownList>
                                                    <asp:RequiredFieldValidator ID="rfvNoOfClaim1" runat="server" validationErrorCssClass="validationError"
                                                        ErrorMessage="" ValidationGroup="carrefuser" ControlToValidate="ddlNoOfClaim1"
                                                        InitialValue="-1" Display="Dynamic"></asp:RequiredFieldValidator>
                                                    &nbsp; S$<asp:Label runat="server" ID="lblLast1ClaimValue" Text="0"></asp:Label>
                                                </div>
                                                <br />
                                                <div class="w270px left">
                                                    <asp:Label runat="server" ID="lblbreakdown1" Text="Please breakdown claim to:" CssClass="blacklbl"></asp:Label></div>
                                                <div class="left">
                                                    <div id="divClaimLast1" runat="server">
                                                        <table>
                                                            <tr>
                                                                <td>
                                                                    <table border="0" cellpadding="1" width="310px" runat="server" id="tblLast1Claim1">
                                                                        <tr>
                                                                            <td colspan="2">
                                                                                Claim Value 1 ($)
                                                                            </td>
                                                                        </tr>
                                                                        <tr>
                                                                            <td>
                                                                                Not At fault
                                                                            </td>
                                                                            <td>
                                                                                <asp:TextBox runat="server" ID="txtClaimLast1NAF1" Width="60px" onchange="CheckLast1Claim1ValidationCss()"
                                                                                    MaxLength="8" Text="0" onkeypress="restrictToNumbers(event)"></asp:TextBox>
                                                                                <asp:RequiredFieldValidator ID="rfvClaimLast1NAF1" runat="server" validationErrorCssClass="validationError"
                                                                                    ErrorMessage="" ValidationGroup="carrefuser" ControlToValidate="txtClaimLast1NAF1"
                                                                                    Display="Dynamic"></asp:RequiredFieldValidator>
                                                                                <asp:RegularExpressionValidator ID="revClaimLast1NAF1" runat="server" ValidationExpression="^[0-9]+(\.[0-9]{1,2})?$"
                                                                                    ControlToValidate="txtClaimLast1NAF1" ValidationGroup="carrefuser" Text="" ErrorMessage=""
                                                                                    validationErrorCssClass="validationError"></asp:RegularExpressionValidator>
                                                                                <asp:CustomValidator ID="cvClaimLast1NAF1" runat="server" ValidationGroup="carrefuser"
                                                                                    validationErrorCssClass="validationError" Text="" ErrorMessage="" ClientValidationFunction="CheckLast1Claim1"
                                                                                    OnServerValidate="CheckLast1Claim1" ControlToValidate="txtClaimLast1NAF1"></asp:CustomValidator>
                                                                            </td>
                                                                        </tr>
                                                                        <tr>
                                                                            <td>
                                                                                At fault
                                                                            </td>
                                                                            <td>
                                                                                <asp:TextBox runat="server" ID="txtClaimLast1AF1" Width="60px" onchange="CheckLast1Claim1ValidationCss()"
                                                                                    MaxLength="8" Text="0" onkeypress="restrictToNumbers(event)"></asp:TextBox>
                                                                                <asp:RequiredFieldValidator ID="rfvClaimLast1AF1" runat="server" validationErrorCssClass="validationError"
                                                                                    ErrorMessage="" ValidationGroup="carrefuser" ControlToValidate="txtClaimLast1AF1"
                                                                                    Display="Dynamic"></asp:RequiredFieldValidator>
                                                                                <asp:RegularExpressionValidator ID="revClaimLast1AF1" runat="server" ValidationExpression="^[0-9]+(\.[0-9]{1,2})?$"
                                                                                    ControlToValidate="txtClaimLast1AF1" ValidationGroup="carrefuser" Text="" ErrorMessage=""
                                                                                    validationErrorCssClass="validationError"></asp:RegularExpressionValidator>
                                                                                <asp:CustomValidator ID="cvClaimLast1AF1" runat="server" ValidationGroup="carrefuser"
                                                                                    validationErrorCssClass="validationError" Text="" ErrorMessage="" ClientValidationFunction="CheckLast1Claim1"
                                                                                    OnServerValidate="CheckLast1Claim1" ControlToValidate="txtClaimLast1AF1"></asp:CustomValidator>
                                                                            </td>
                                                                        </tr>
                                                                        <tr>
                                                                            <td>
                                                                                Windscreen
                                                                            </td>
                                                                            <td>
                                                                                <asp:TextBox runat="server" ID="txtClaimLast1Windscreen1" Width="60px" onchange="CheckLast1Claim1ValidationCss()"
                                                                                    MaxLength="8" Text="0" onkeypress="restrictToNumbers(event)"></asp:TextBox>
                                                                                <asp:RequiredFieldValidator ID="rfvClaimLast1Windscreen1" runat="server" validationErrorCssClass="validationError"
                                                                                    ErrorMessage="" ValidationGroup="carrefuser" ControlToValidate="txtClaimLast1Windscreen1"
                                                                                    Display="Dynamic"></asp:RequiredFieldValidator>
                                                                                <asp:RegularExpressionValidator ID="revClaimLast1Windscreen1" runat="server" ValidationExpression="^[0-9]+(\.[0-9]{1,2})?$"
                                                                                    ControlToValidate="txtClaimLast1Windscreen1" ValidationGroup="carrefuser" Text=""
                                                                                    ErrorMessage="" validationErrorCssClass="validationError"></asp:RegularExpressionValidator>
                                                                                <asp:CustomValidator ID="cvClaimLast1Windscreen1" runat="server" ValidationGroup="carrefuser"
                                                                                    validationErrorCssClass="validationError" Text="" ErrorMessage="" ClientValidationFunction="CheckLast1Claim1"
                                                                                    OnServerValidate="CheckLast1Claim1" ControlToValidate="txtClaimLast1Windscreen1"></asp:CustomValidator>
                                                                            </td>
                                                                        </tr>
                                                                        <tr>
                                                                            <td>
                                                                                Accident Date
                                                                            </td>
                                                                            <td>
                                                                                <uc3:usrDate ID="usrClaimLast1AccidentDate1" runat="server" ValidationGroup="carrefuser" />
                                                                            </td>
                                                                        </tr>
                                                                    </table>
                                                                </td>
                                                                <td>
                                                                    <table border="0" cellpadding="1" width="310px" runat="server" id="tblLast1Claim2">
                                                                        <tr>
                                                                            <td colspan="2">
                                                                                Claim Value 2 ($)
                                                                            </td>
                                                                        </tr>
                                                                        <tr>
                                                                            <td>
                                                                                Not At fault
                                                                            </td>
                                                                            <td>
                                                                                <asp:TextBox runat="server" ID="txtClaimLast1NAF2" Width="60px" onchange="CheckLast1Claim2ValidationCss()"
                                                                                    MaxLength="8" Text="0" onkeypress="restrictToNumbers(event)"></asp:TextBox>
                                                                                <asp:RequiredFieldValidator ID="rfvClaimLast1NAF2" runat="server" validationErrorCssClass="validationError"
                                                                                    ErrorMessage="" ValidationGroup="carrefuser" ControlToValidate="txtClaimLast1NAF2"
                                                                                    Display="Dynamic"></asp:RequiredFieldValidator>
                                                                                <asp:RegularExpressionValidator ID="revClaimLast1NAF2" runat="server" ValidationExpression="^[0-9]+(\.[0-9]{1,2})?$"
                                                                                    ControlToValidate="txtClaimLast1NAF2" ValidationGroup="carrefuser" Text="" ErrorMessage=""
                                                                                    validationErrorCssClass="validationError"></asp:RegularExpressionValidator>
                                                                                <asp:CustomValidator ID="cvClaimLast1NAF2" runat="server" ValidationGroup="carrefuser"
                                                                                    validationErrorCssClass="validationError" Text="" ErrorMessage="" ClientValidationFunction="CheckLast1Claim2"
                                                                                    OnServerValidate="CheckLast1Claim2" ControlToValidate="txtClaimLast1NAF2"></asp:CustomValidator>
                                                                            </td>
                                                                        </tr>
                                                                        <tr>
                                                                            <td>
                                                                                At fault
                                                                            </td>
                                                                            <td>
                                                                                <asp:TextBox runat="server" ID="txtClaimLast1AF2" Width="60px" onchange="CheckLast1Claim2ValidationCss()"
                                                                                    MaxLength="8" Text="0" onkeypress="restrictToNumbers(event)"></asp:TextBox>
                                                                                <asp:RequiredFieldValidator ID="rfvClaimLast1AF2" runat="server" validationErrorCssClass="validationError"
                                                                                    ErrorMessage="" ValidationGroup="carrefuser" ControlToValidate="txtClaimLast1AF2"
                                                                                    Display="Dynamic"></asp:RequiredFieldValidator>
                                                                                <asp:RegularExpressionValidator ID="revClaimLast1AF2" runat="server" ValidationExpression="^[0-9]+(\.[0-9]{1,2})?$"
                                                                                    ControlToValidate="txtClaimLast1AF2" ValidationGroup="carrefuser" Text="" ErrorMessage=""
                                                                                    validationErrorCssClass="validationError"></asp:RegularExpressionValidator>
                                                                                <asp:CustomValidator ID="cvClaimLast1AF2" runat="server" ValidationGroup="carrefuser"
                                                                                    validationErrorCssClass="validationError" Text="" ErrorMessage="" ClientValidationFunction="CheckLast1Claim2"
                                                                                    OnServerValidate="CheckLast1Claim2" ControlToValidate="txtClaimLast1AF2"></asp:CustomValidator>
                                                                            </td>
                                                                        </tr>
                                                                        <tr>
                                                                            <td>
                                                                                Windscreen
                                                                            </td>
                                                                            <td>
                                                                                <asp:TextBox runat="server" ID="txtClaimLast1Windscreen2" Width="60px" onchange="CheckLast1Claim2ValidationCss()"
                                                                                    MaxLength="8" Text="0" onkeypress="restrictToNumbers(event)"></asp:TextBox>
                                                                                <asp:RequiredFieldValidator ID="rfvClaimLast1Windscreen2" runat="server" validationErrorCssClass="validationError"
                                                                                    ErrorMessage="" ValidationGroup="carrefuser" ControlToValidate="txtClaimLast1Windscreen2"
                                                                                    Display="Dynamic"></asp:RequiredFieldValidator>
                                                                                <asp:RegularExpressionValidator ID="revClaimLast1Windscreen2" runat="server" ValidationExpression="^[0-9]+(\.[0-9]{1,2})?$"
                                                                                    ControlToValidate="txtClaimLast1Windscreen2" ValidationGroup="carrefuser" Text=""
                                                                                    ErrorMessage="" validationErrorCssClass="validationError"></asp:RegularExpressionValidator>
                                                                                <asp:CustomValidator ID="cvClaimLast1Windscreen2" runat="server" ValidationGroup="carrefuser"
                                                                                    validationErrorCssClass="validationError" Text="" ErrorMessage="" ClientValidationFunction="CheckLast1Claim2"
                                                                                    OnServerValidate="CheckLast1Claim2" ControlToValidate="txtClaimLast1Windscreen2"></asp:CustomValidator>
                                                                            </td>
                                                                        </tr>
                                                                        <tr>
                                                                            <td>
                                                                                Accident Date
                                                                            </td>
                                                                            <td>
                                                                                <uc3:usrDate ID="usrClaimLast1AccidentDate2" runat="server" ValidationGroup="carrefuser" />
                                                                            </td>
                                                                        </tr>
                                                                    </table>
                                                                </td>
                                                                <td>
                                                                    <table border="0" cellpadding="1" width="310px" runat="server" id="tblLast1Claim3">
                                                                        <tr>
                                                                            <td colspan="2">
                                                                                Claim Value 3 ($)
                                                                            </td>
                                                                        </tr>
                                                                        <tr>
                                                                            <td>
                                                                                Not At fault
                                                                            </td>
                                                                            <td>
                                                                                <asp:TextBox runat="server" ID="txtClaimLast1NAF3" Width="60px" onchange="CheckLast1Claim3ValidationCss()"
                                                                                    MaxLength="8" Text="0" onkeypress="restrictToNumbers(event)"></asp:TextBox>
                                                                                <asp:RequiredFieldValidator ID="rfvClaimLast1NAF3" runat="server" validationErrorCssClass="validationError"
                                                                                    ErrorMessage="" ValidationGroup="carrefuser" ControlToValidate="txtClaimLast1NAF3"
                                                                                    Display="Dynamic"></asp:RequiredFieldValidator>
                                                                                <asp:RegularExpressionValidator ID="revClaimLast1NAF3" runat="server" ValidationExpression="^[0-9]+(\.[0-9]{1,2})?$"
                                                                                    ControlToValidate="txtClaimLast1NAF3" ValidationGroup="carrefuser" Text="" ErrorMessage=""
                                                                                    validationErrorCssClass="validationError"></asp:RegularExpressionValidator>
                                                                                <asp:CustomValidator ID="cvClaimLast1NAF3" runat="server" ValidationGroup="carrefuser"
                                                                                    validationErrorCssClass="validationError" Text="" ErrorMessage="" ClientValidationFunction="CheckLast1Claim3"
                                                                                    OnServerValidate="CheckLast1Claim3" ControlToValidate="txtClaimLast1NAF3"></asp:CustomValidator>
                                                                            </td>
                                                                        </tr>
                                                                        <tr>
                                                                            <td>
                                                                                At fault
                                                                            </td>
                                                                            <td>
                                                                                <asp:TextBox runat="server" ID="txtClaimLast1AF3" Width="60px" onchange="CheckLast1Claim3ValidationCss()"
                                                                                    MaxLength="8" Text="0" onkeypress="restrictToNumbers(event)"></asp:TextBox>
                                                                                <asp:RequiredFieldValidator ID="rfvClaimLast1AF3" runat="server" validationErrorCssClass="validationError"
                                                                                    ErrorMessage="" ValidationGroup="carrefuser" ControlToValidate="txtClaimLast1AF3"
                                                                                    Display="Dynamic"></asp:RequiredFieldValidator>
                                                                                <asp:RegularExpressionValidator ID="revClaimLast1AF3" runat="server" ValidationExpression="^[0-9]+(\.[0-9]{1,2})?$"
                                                                                    ControlToValidate="txtClaimLast1AF3" ValidationGroup="carrefuser" Text="" ErrorMessage=""
                                                                                    validationErrorCssClass="validationError"></asp:RegularExpressionValidator>
                                                                                <asp:CustomValidator ID="cvClaimLast1AF3" runat="server" ValidationGroup="carrefuser"
                                                                                    validationErrorCssClass="validationError" Text="" ErrorMessage="" ClientValidationFunction="CheckLast1Claim3"
                                                                                    OnServerValidate="CheckLast1Claim3" ControlToValidate="txtClaimLast1AF3"></asp:CustomValidator>
                                                                            </td>
                                                                        </tr>
                                                                        <tr>
                                                                            <td>
                                                                                Windscreen
                                                                            </td>
                                                                            <td>
                                                                                <asp:TextBox runat="server" ID="txtClaimLast1Windscreen3" Width="60px" onchange="CheckLast1Claim3ValidationCss()"
                                                                                    MaxLength="8" Text="0" onkeypress="restrictToNumbers(event)"></asp:TextBox>
                                                                                <asp:RequiredFieldValidator ID="rfvClaimLast1Windscreen3" runat="server" validationErrorCssClass="validationError"
                                                                                    ErrorMessage="" ValidationGroup="carrefuser" ControlToValidate="txtClaimLast1Windscreen3"
                                                                                    Display="Dynamic"></asp:RequiredFieldValidator>
                                                                                <asp:RegularExpressionValidator ID="revClaimLast1Windscreen3" runat="server" ValidationExpression="^[0-9]+(\.[0-9]{1,2})?$"
                                                                                    ControlToValidate="txtClaimLast1Windscreen3" ValidationGroup="carrefuser" Text=""
                                                                                    ErrorMessage="" validationErrorCssClass="validationError"></asp:RegularExpressionValidator>
                                                                                <asp:CustomValidator ID="cvClaimLast1Windscreen3" runat="server" ValidationGroup="carrefuser"
                                                                                    validationErrorCssClass="validationError" Text="" ErrorMessage="" ClientValidationFunction="CheckLast1Claim3"
                                                                                    OnServerValidate="CheckLast1Claim3" ControlToValidate="txtClaimLast1Windscreen3"></asp:CustomValidator>
                                                                            </td>
                                                                        </tr>
                                                                        <tr>
                                                                            <td>
                                                                                Accident Date
                                                                            </td>
                                                                            <td>
                                                                                <uc3:usrDate ID="usrClaimLast1AccidentDate3" runat="server" ValidationGroup="carrefuser" />
                                                                            </td>
                                                                        </tr>
                                                                    </table>
                                                                </td>
                                                            </tr>
                                                        </table>
                                                    </div>
                                                </div>
                                                <div class="clear">
                                                </div>
                                            </div>
                                        </asp:Panel>
                                    </asp:Panel>
                                    <div class="clear">
                                    </div>
                                    <div class="row_border">
                                        <div class="w270px left">
                                            Any Suspension of Driving License?</div>
                                        <div class="left">
                                            <div class="radiol" id="divYesSuspension">
                                                <span class="indicator">
                                                    <asp:RadioButton runat="server" ID="rdoSuspensionYes" GroupName="Suspension" onclick="CheckSuspension();CheckSuspensionValidationCss();" />&nbsp;<asp:Label
                                                        ID="lblSuspensionYes" runat="server" Text="Yes"></asp:Label>
                                                </span>
                                            </div>
                                            <div class="radior" id="divNoSuspension">
                                                <span class="indicator">
                                                    <asp:RadioButton runat="server" ID="rdoSuspensionNo" GroupName="Suspension" onclick="CheckSuspension();CheckSuspensionValidationCss();" />&nbsp;<asp:Label
                                                        ID="lblSuspensionNo" runat="server" Text="No"></asp:Label>
                                                </span>
                                            </div>
                                            <div style="display: none">
                                                <asp:TextBox ID="txtSuspension" runat="server"></asp:TextBox>
                                            </div>
                                            <asp:RequiredFieldValidator validationErrorCssClass="validationError" ID="rfvSuspension"
                                                runat="server" ControlToValidate="txtSuspension" ErrorMessage="" ValidationGroup="carrefuser"
                                                Display="Dynamic" Text=""></asp:RequiredFieldValidator>
                                        </div>
                                        <div class="clear">
                                        </div>
                                    </div>
                                    <div class="row_border">
                                        <div class="w270px left">
                                            Car policy cancelled/declined before by insurers?</div>
                                        <div class="left">
                                            <div class="radiol" id="divYesCancelled">
                                                <span class="indicator">
                                                    <asp:RadioButton runat="server" ID="rdoCancelledYes" GroupName="PolicyCancelled"
                                                        onclick="CheckCancelled();CheckCancelledValidationCss();" />&nbsp;<asp:Label ID="lblCancelledYes"
                                                            runat="server" Text="Yes"></asp:Label>
                                                </span>
                                            </div>
                                            <div class="radiol" id="divNoCancelled">
                                                <span class="indicator">
                                                    <asp:RadioButton runat="server" ID="rdoCancelledNo" GroupName="PolicyCancelled" onclick="CheckCancelled();CheckCancelledValidationCss();" />&nbsp;<asp:Label
                                                        ID="lblCancelledNo" runat="server" Text="No"></asp:Label>
                                                </span>
                                            </div>
                                            <div style="display: none">
                                                <asp:TextBox ID="txtPolicyCancelled" runat="server"></asp:TextBox>
                                            </div>
                                            <asp:RequiredFieldValidator validationErrorCssClass="validationError" ID="rfvPolicyCancelled"
                                                runat="server" ControlToValidate="txtPolicyCancelled" ErrorMessage="" ValidationGroup="carrefuser"
                                                Display="Dynamic" Text=""></asp:RequiredFieldValidator>
                                        </div>
                                        <div class="clear">
                                        </div>
                                    </div>
                                    <div id="divAdditionalDriver" runat="server" visible="false">
                                        <div class="row_border">
                                            <table width="100%" class="form_subbox" cellpadding="3" cellspacing="0" border="0">
                                                <tbody>
                                                    <tr>
                                                        <th>
                                                            Additional Name Driver(s):
                                                        </th>
                                                        <th>
                                                            Relation to you
                                                        </th>
                                                        <th>
                                                            Name
                                                        </th>
                                                        <th>
                                                            NRIC
                                                        </th>
                                                        <th>
                                                            License Pass Date
                                                        </th>
                                                    </tr>
                                                    <tr id="divDriver1" runat="server" class="fs_odd">
                                                        <td>
                                                            <h4>
                                                                Driver 1</h4>
                                                        </td>
                                                        <td>
                                                            <asp:TextBox ID="txtDriver1Relation" runat="server" MaxLength="50"></asp:TextBox><asp:RequiredFieldValidator
                                                                validationErrorCssClass="validationError" ID="rfvDriver1" runat="server" ControlToValidate="txtDriver1Relation"
                                                                ErrorMessage="" ValidationGroup="carrefuser" Display="Dynamic" Text=""></asp:RequiredFieldValidator>
                                                            <a href="/tooltips/relation.htm?width=250" class="jTip" id="one" name="Relation:">
                                                                <img src="/images/icons/help.gif" alt="Help" align="absmiddle" width="16" height="18" /></a>
                                                        </td>
                                                        <td>
                                                            <asp:TextBox ID="txtDriver1Name" runat="server" MaxLength="50"></asp:TextBox><asp:RequiredFieldValidator
                                                                validationErrorCssClass="validationError" ID="RequiredFieldValidator1" runat="server"
                                                                ControlToValidate="txtDriver1Name" ErrorMessage="" ValidationGroup="carrefuser"
                                                                Display="Dynamic" Text=""></asp:RequiredFieldValidator>
                                                        </td>
                                                        <td>
                                                            <uc2:usrIdNumber ID="usrDriver1NRIC" runat="server" ValidationGroup="carrefuser" />
                                                        </td>
                                                        <td>
                                                            <uc3:usrDate ID="usrDriver1LicensePassDate" runat="server" ValidationGroup="carrefuser"
                                                                IsAllowGreaterThanToday="false" />
                                                        </td>
                                                    </tr>
                                                    <tr id="divDriver2" runat="server" class="fs_even">
                                                        <td>
                                                            <h4>
                                                                Driver 2</h4>
                                                        </td>
                                                        <td>
                                                            <asp:TextBox ID="txtDriver2Relation" runat="server" MaxLength="50"></asp:TextBox><asp:RequiredFieldValidator
                                                                validationErrorCssClass="validationError" ID="rfvDriver2" runat="server" ControlToValidate="txtDriver2Relation"
                                                                ErrorMessage="" ValidationGroup="carrefuser" Display="Dynamic" Text=""></asp:RequiredFieldValidator>
                                                            <a href="/tooltips/relation.htm?width=250" class="jTip" id="A1" name="Relation:">
                                                                <img src="/images/icons/help.gif" alt="Help" align="absmiddle" width="16" height="18" /></a>
                                                        </td>
                                                        <td>
                                                            <asp:TextBox ID="txtDriver2Name" runat="server" MaxLength="50"></asp:TextBox><asp:RequiredFieldValidator
                                                                validationErrorCssClass="validationError" ID="RequiredFieldValidator3" runat="server"
                                                                ControlToValidate="txtDriver2Name" ErrorMessage="" ValidationGroup="carrefuser"
                                                                Display="Dynamic" Text=""></asp:RequiredFieldValidator>
                                                        </td>
                                                        <td>
                                                            <uc2:usrIdNumber ID="usrDriver2NRIC" runat="server" ValidationGroup="carrefuser" />
                                                        </td>
                                                        <td>
                                                            <uc3:usrDate ID="usrDriver2LicensePassDate" runat="server" ValidationGroup="carrefuser"
                                                                IsAllowGreaterThanToday="false" />
                                                        </td>
                                                    </tr>
                                                    <tr id="divDriver3" runat="server" class="fs_odd">
                                                        <td>
                                                            <h4>
                                                                Driver 3</h4>
                                                        </td>
                                                        <td>
                                                            <asp:TextBox ID="txtDriver3Relation" runat="server" MaxLength="50"></asp:TextBox><asp:RequiredFieldValidator
                                                                validationErrorCssClass="validationError" ID="rfvDriver3" runat="server" ControlToValidate="txtDriver3Relation"
                                                                ErrorMessage="" ValidationGroup="carrefuser" Display="Dynamic" Text=""></asp:RequiredFieldValidator>
                                                            <a href="/tooltips/relation.htm?width=250" class="jTip" id="A2" name="Relation:">
                                                                <img src="/images/icons/help.gif" alt="Help" align="absmiddle" width="16" height="18" /></a>
                                                        </td>
                                                        <td>
                                                            <asp:TextBox ID="txtDriver3Name" runat="server" MaxLength="50"></asp:TextBox><asp:RequiredFieldValidator
                                                                validationErrorCssClass="validationError" ID="RequiredFieldValidator5" runat="server"
                                                                ControlToValidate="txtDriver3Name" ErrorMessage="" ValidationGroup="carrefuser"
                                                                Display="Dynamic" Text=""></asp:RequiredFieldValidator>
                                                        </td>
                                                        <td>
                                                            <uc2:usrIdNumber ID="usrDriver3NRIC" runat="server" ValidationGroup="carrefuser" />
                                                        </td>
                                                        <td>
                                                            <uc3:usrDate ID="usrDriver3LicensePassDate" runat="server" ValidationGroup="carrefuser"
                                                                IsAllowGreaterThanToday="false" />
                                                        </td>
                                                    </tr>
                                                    <tr id="divDriver4" runat="server" class="fs_even">
                                                        <td>
                                                            <h4>
                                                                Driver 4</h4>
                                                        </td>
                                                        <td>
                                                            <asp:TextBox ID="txtDriver4Relation" runat="server" MaxLength="50"></asp:TextBox><asp:RequiredFieldValidator
                                                                validationErrorCssClass="validationError" ID="rfvDriver4" runat="server" ControlToValidate="txtDriver4Relation"
                                                                ErrorMessage="" ValidationGroup="carrefuser" Display="Dynamic" Text=""></asp:RequiredFieldValidator>
                                                            <a href="/tooltips/relation.htm?width=250" class="jTip" id="A3" name="Relation:">
                                                                <img src="/images/icons/help.gif" alt="Help" align="absmiddle" width="16" height="18" /></a>
                                                        </td>
                                                        <td>
                                                            <asp:TextBox ID="txtDriver4Name" runat="server" MaxLength="50"></asp:TextBox><asp:RequiredFieldValidator
                                                                validationErrorCssClass="validationError" ID="RequiredFieldValidator7" runat="server"
                                                                ControlToValidate="txtDriver4Name" ErrorMessage="" ValidationGroup="carrefuser"
                                                                Display="Dynamic" Text=""></asp:RequiredFieldValidator>
                                                        </td>
                                                        <td>
                                                            <uc2:usrIdNumber ID="usrDriver4NRIC" runat="server" ValidationGroup="carrefuser" />
                                                        </td>
                                                        <td>
                                                            <uc3:usrDate ID="usrDriver4LicensePassDate" runat="server" ValidationGroup="carrefuser"
                                                                IsAllowGreaterThanToday="false" />
                                                        </td>
                                                    </tr>
                                                    <tr id="divDriver5" runat="server" class="fs_odd">
                                                        <td>
                                                            <h4>
                                                                Driver 5</h4>
                                                        </td>
                                                        <td>
                                                            <asp:TextBox ID="txtDriver5Relation" runat="server" MaxLength="50"></asp:TextBox><asp:RequiredFieldValidator
                                                                validationErrorCssClass="validationError" ID="rfvDriver5" runat="server" ControlToValidate="txtDriver5Relation"
                                                                ErrorMessage="" ValidationGroup="carrefuser" Display="Dynamic" Text=""></asp:RequiredFieldValidator>
                                                            <a href="/tooltips/relation.htm?width=250" class="jTip" id="A4" name="Relation:">
                                                                <img src="/images/icons/help.gif" alt="Help" align="absmiddle" width="16" height="18" /></a>
                                                        </td>
                                                        <td>
                                                            <asp:TextBox ID="txtDriver5Name" runat="server" MaxLength="50"></asp:TextBox><asp:RequiredFieldValidator
                                                                validationErrorCssClass="validationError" ID="RequiredFieldValidator9" runat="server"
                                                                ControlToValidate="txtDriver5Name" ErrorMessage="" ValidationGroup="carrefuser"
                                                                Display="Dynamic" Text=""></asp:RequiredFieldValidator>
                                                        </td>
                                                        <td>
                                                            <uc2:usrIdNumber ID="usrDriver5NRIC" runat="server" ValidationGroup="carrefuser" />
                                                        </td>
                                                        <td>
                                                            <uc3:usrDate ID="usrDriver5LicensePassDate" runat="server" ValidationGroup="carrefuser"
                                                                IsAllowGreaterThanToday="false" />
                                                        </td>
                                                    </tr>
                                                </tbody>
                                            </table>
                                        </div>
                                    </div>
                                    <div class="clear">
                                    </div>
                                    <div class="row_border">
                                        <div class="w270px left">
                                            Mobile Number:</div>
                                        <div class="left">
                                            <uc1:usrPhoneNo ID="txtMobileNo" IsEnabled="true" IsRequired="true" PhoneNoRequireErrorMessage="Require mobile number."
                                                PhoneNoErrorMessage="Mobile phone number should 8 digits." PhoneNoValidErrorMessage="Invalid mobile phone number."
                                                runat="server" ValidationGroup="carrefuser" />
                                        </div>
                                        <div class="clear">
                                        </div>
                                    </div>
                                    <div class="row_border" style="display: none;">
                                        <div class="w270px left">
                                            :</div>
                                        <div class="left">
                                            <asp:TextBox ID="txtEmail" runat="server" Width="250" MaxLength="100"></asp:TextBox>
                                        </div>
                                        <div class="clear">
                                        </div>
                                    </div>
                                    <div class="row_border">
                                        <div class="w270px left">
                                            Cover Type:</div>
                                        <div class="left">
                                            <asp:DropDownList ID="ddlNoMatchCoverType" runat="server" onclick="CheckComprehensive()">
                                            </asp:DropDownList>
                                            <asp:Label ID="lblComprehensiveDetails" runat="server" Text=""></asp:Label>
                                            <asp:RequiredFieldValidator validationErrorCssClass="validationError" ID="rfvNoMatchCoverType"
                                                runat="server" ControlToValidate="ddlNoMatchCoverType" ErrorMessage="" InitialValue="-1"
                                                ValidationGroup="carrefuser" Display="Dynamic" Text=""></asp:RequiredFieldValidator>
                                            <div id="divCompre" style="display: none;">
                                                <asp:DropDownList ID="ddlComprehensiveDetails" runat="server">
                                                    <asp:ListItem Value="-1">Select</asp:ListItem>
                                                    <asp:ListItem Value="No preference">No preference</asp:ListItem>
                                                    <asp:ListItem Value="Insurer's Panel/Authorized Workshops">Insurer's Panel/Authorized Workshops</asp:ListItem>
                                                    <asp:ListItem Value="Any Workshops">Any Workshops</asp:ListItem>
                                                    <asp:ListItem Value="Manufacturer Workshops (car still under warranty)">Manufacturer Workshops (car still under warranty)</asp:ListItem>
                                                </asp:DropDownList>
                                                <asp:RequiredFieldValidator validationErrorCssClass="validationError" ID="rfvComprehensive"
                                                    runat="server" ControlToValidate="ddlComprehensiveDetails" ErrorMessage="" InitialValue="-1"
                                                    ValidationGroup="carrefuser" Display="Dynamic" Text=""></asp:RequiredFieldValidator></div>
                                        </div>
                                        <div class="clear">
                                        </div>
                                    </div>
                                    <div class="row_border">
                                        <div class="w270px left">
                                            Renewal quote received ($):</div>
                                        <div class="left">
                                            <asp:TextBox runat="server" ID="txtRenewalQuoteReceived" Width="60px" onchange="CheckRenewalQuoteValidationCss()"
                                                MaxLength="8" Text="0" onkeypress="restrictToNumbers(event)"></asp:TextBox>
                                            <asp:RequiredFieldValidator ID="rfvRenewalQuote" runat="server" validationErrorCssClass="validationError"
                                                ErrorMessage="" ValidationGroup="carrefuser" ControlToValidate="txtRenewalQuoteReceived"
                                                Display="Dynamic"></asp:RequiredFieldValidator>
                                            <asp:RegularExpressionValidator ID="revRenewalQuote" runat="server" ValidationExpression="^[0-9]+(\.[0-9]{1,2})?$"
                                                ControlToValidate="txtRenewalQuoteReceived" ValidationGroup="carrefuser" Text=""
                                                ErrorMessage="" validationErrorCssClass="validationError"></asp:RegularExpressionValidator>
                                            <asp:CustomValidator ID="cvRenewalQuote" runat="server" ValidationGroup="carrefuser"
                                                validationErrorCssClass="validationError" Text="" ErrorMessage="" ClientValidationFunction="CheckRenewalQuote"
                                                OnServerValidate="CheckRenewalQuote" ControlToValidate="txtRenewalQuoteReceived"></asp:CustomValidator>
                                            *We use this as a benchmark to find you better quotes. (min S$100, max S$30,000)
                                        </div>
                                        <div class="clear">
                                        </div>
                                    </div>
                                    <div class="row_border">
                                        <div class="w270px left">
                                            Most important to you:</div>
                                        <div class="left">
                                            <asp:DropDownList ID="ddlImportant" runat="server">
                                                <asp:ListItem Value="-1">Select</asp:ListItem>
                                                <asp:ListItem Value="Low Premium">Low Premium</asp:ListItem>
                                                <asp:ListItem Value="Low Excess">Low Excess</asp:ListItem>
                                                <asp:ListItem Value="Zero Excess">Zero Excess</asp:ListItem>
                                                <asp:ListItem Value="Protect my NCD in an event of claim">Protect my NCD in an event of claim</asp:ListItem>
                                                <asp:ListItem Value="Loss of Use (Replacement Car) Benefit">Loss of Use (Replacement Car) Benefit</asp:ListItem>
                                            </asp:DropDownList>
                                            <asp:RequiredFieldValidator validationErrorCssClass="validationError" ID="RequiredFieldValidator2"
                                                runat="server" ControlToValidate="ddlImportant" ErrorMessage="" InitialValue="-1"
                                                ValidationGroup="carrefuser" Display="Dynamic" Text=""></asp:RequiredFieldValidator></div>
                                        <div class="clear">
                                        </div>
                                    </div>
                                    <div class="formButtons_new1">
                                        <div runat="server" id="divNoMatchMessage" visible="false" class="sub_msg">
                                            <asp:Label runat="server" ID="lblNoMatchMessage" Font-Bold="true"></asp:Label>
                                        </div>
                                        <div class="cancel">
                                            <asp:Button runat="server" ID="btnNoMatchBack" Visible="true" onmousedown="this.className = 'button_back_mousedown';"
                                                onmouseup="this.className = 'button_back';" onmouseout="this.className = 'button_back';"
                                                CssClass="button_back" CausesValidation="false" OnClientClick="if (Page_ClientValidate('none')){this.removeAttribute('onmouseout'); this.removeAttribute('onmouseup'); this.className = 'button_processing';} return true;"
                                                OnClick="btnNoMatchBack_Click" />
                                            <asp:Button runat="server" ID="btnOfflineBack" Visible="true" onmousedown="this.className = 'button_back_mousedown';"
                                                onmouseout="this.className = 'button_back';" onmouseup="this.className = 'button_back';"
                                                CssClass="button_back" CausesValidation="false" OnClientClick="if (Page_ClientValidate('none')){this.removeAttribute('onmouseout'); this.removeAttribute('onmouseup'); this.className = 'button_processing';} return true;"
                                                OnClick="btnOfflineBack_Click" />
                                        </div>
                                        <div class="nextstep">
                                            <asp:Button ID="btnSubmit" runat="server" CssClass="button_submit" ValidationGroup="carrefuser"
                                                OnClientClick="LoadValidationErrorCss();CheckOptionValidationCss();ShowSubmitProgress('carrefuser');if (Page_ClientValidate('carrefuser')) { if(confirm('By pressing the submit button, you authorise CompareXpress to send your personal information to a 3rd party.')) {this.removeAttribute('onmouseout'); this.removeAttribute('onmouseup'); this.className='button_processing';return true;}} return false;"
                                                onmousedown="this.className = 'button_submit_mousedown';" onmouseup="this.className = 'button_submit';"
                                                onmouseout="this.className = 'button_submit';" OnClick="btnSubmit_Click" />
                                            <asp:ImageButton ID="ibtRunNewQuoteforNomatch" AlternateText="Run New Quote" ImageUrl="~/images/buttons/run_quotes.gif"
                                                OnClick="ibtRunNewQuoteforNomatch_Click" runat="server" Visible="false" />
                                        </div>
                                        <div class="clear">
                                        </div>
                                    </div>
                                    <div class="seperator">
                                    </div>
                                    <div class="clear">
                                    </div>
                                </div>
                            </fieldset>
                        </div>
                    </div>
                </div>
            </div>
        </div>
    </div>
    
    <script type="text/javascript">
        function SubmitConfirm() {
            var _retVal = false;
            if (Page_ClientValidate('carrefuser')) {
                _retVal = confirm('By pressing the submit button, you authorise CompareXpress to send your personal information to a 3rd party.');
            }
            alert(_retVal);
            return _retVal;
        }

        function SubmitConfirm() {
            var _retVal = false;
            if (Page_ClientValidate('callme')) {
                _retVal = confirm('By pressing the confirm button, you authorise CompareXpress to save your personal information.');
            }
            return _retVal;
        }

        function CheckSuspension() {
            var ctrlSuspension = document.getElementById('<%=txtSuspension.ClientID%>');
            var ctrlY = document.getElementById('<%=rdoSuspensionYes.ClientID%>');
            var ctrlN = document.getElementById('<%=rdoSuspensionNo.ClientID%>');
            var valSus = document.getElementById('<%=rfvSuspension.ClientID%>');
            if (ctrlY.checked == true || ctrlN.checked == true) {
                ctrlSuspension.value = '1';
                valSus.style.visibility = 'hidden';
            }
            else {
                ctrlSuspension.value = '';
            }
        }

        function CheckSuspensionValidationCss() {
            var ctrlDivYes = 'divYesSuspension';
            var ctrlDivNo = 'divNoSuspension';
            var txtText = '<%=txtSuspension.ClientID%>';
            var valSus = '<%=rfvSuspension.ClientID%>';
            ShowValidationEffectOption(ctrlDivYes, ctrlDivNo, txtText, valSus);
            return true;
        }

        function CheckCancelled() {
            var ctrlCancelled = document.getElementById('<%=txtPolicyCancelled.ClientID%>');
            var ctrlY = document.getElementById('<%=rdoCancelledYes.ClientID%>');
            var ctrlN = document.getElementById('<%=rdoCancelledNo.ClientID%>');
            var valCan = document.getElementById('<%=rfvPolicyCancelled.ClientID%>');
            if (ctrlY.checked == true || ctrlN.checked == true) {
                ctrlCancelled.value = '1';
                valCan.style.visibility = 'hidden';
            }
            else {
                ctrlCancelled.value = '';
            }
        }

        function CheckCancelledValidationCss() {
            var ctrlDivYes = 'divYesCancelled';
            var ctrlDivNo = 'divNoCancelled';
            var txtText = '<%=txtPolicyCancelled.ClientID%>';
            var valCan = '<%=rfvPolicyCancelled.ClientID%>';
            ShowValidationEffectOption(ctrlDivYes, ctrlDivNo, txtText, valCan);
            return true;
        }

        //Last3
        function CheckLast3Claim1(source, arguments) {
            var txtClaimLast3NAF1 = document.getElementById('<%=txtClaimLast3NAF1.ClientID%>');
            var txtClaimLast3AF1 = document.getElementById('<%=txtClaimLast3AF1.ClientID%>');
            var txtClaimLast3Windscreen1 = document.getElementById('<%=txtClaimLast3Windscreen1.ClientID%>');

            if (txtClaimLast3NAF1.value == "0" && txtClaimLast3AF1.value == "0" && txtClaimLast3Windscreen1.value == "0") {

                arguments.IsValid = false;
            }
            else {
                arguments.IsValid = true;
            }
        }

        function CheckLast3Claim1ValidationCss() {
            var txtClaimLast3NAF1 = document.getElementById('<%=txtClaimLast3NAF1.ClientID%>');
            var txtClaimLast3AF1 = document.getElementById('<%=txtClaimLast3AF1.ClientID%>');
            var txtClaimLast3Windscreen1 = document.getElementById('<%=txtClaimLast3Windscreen1.ClientID%>');

            CheckAndUpdateZeroValue(txtClaimLast3NAF1);
            CheckAndUpdateZeroValue(txtClaimLast3AF1);
            CheckAndUpdateZeroValue(txtClaimLast3Windscreen1);

            var cvClaimLast3NAF1 = document.getElementById('<%=cvClaimLast3NAF1.ClientID%>');
            var cvClaimLast3AF1 = document.getElementById('<%=cvClaimLast3AF1.ClientID%>');
            var cvClaimLast3Windscreen1 = document.getElementById('<%=cvClaimLast3Windscreen1.ClientID%>');

            if (txtClaimLast3NAF1.value == "0" && txtClaimLast3AF1.value == "0" && txtClaimLast3Windscreen1.value == "0") {

                ValidatorEnable(cvClaimLast3NAF1, true);
                cvClaimLast3NAF1.style.visibility = 'visible';

                ValidatorEnable(cvClaimLast3AF1, true);
                cvClaimLast3AF1.style.visibility = 'visible';

                ValidatorEnable(cvClaimLast3Windscreen1, true);
                cvClaimLast3Windscreen1.style.visibility = 'visible';

            }
            else {

                ValidatorEnable(cvClaimLast3NAF1, false);
                cvClaimLast3NAF1.style.visibility = 'hidden';

                ValidatorEnable(cvClaimLast3AF1, false);
                cvClaimLast3AF1.style.visibility = 'hidden';

                ValidatorEnable(cvClaimLast3Windscreen1, false);
                cvClaimLast3Windscreen1.style.visibility = 'hidden';

            }

            return true;
        }


        function CheckLast3Claim2(source, arguments) {
            var txtClaimLast3NAF2 = document.getElementById('<%=txtClaimLast3NAF2.ClientID%>');
            var txtClaimLast3AF2 = document.getElementById('<%=txtClaimLast3AF2.ClientID%>');
            var txtClaimLast3Windscreen2 = document.getElementById('<%=txtClaimLast3Windscreen2.ClientID%>');

            if (txtClaimLast3NAF2.value == "0" && txtClaimLast3AF2.value == "0" && txtClaimLast3Windscreen2.value == "0") {

                arguments.IsValid = false;
            }
            else {
                arguments.IsValid = true;
            }
        }

        function CheckLast3Claim2ValidationCss() {
            var txtClaimLast3NAF2 = document.getElementById('<%=txtClaimLast3NAF2.ClientID%>');
            var txtClaimLast3AF2 = document.getElementById('<%=txtClaimLast3AF2.ClientID%>');
            var txtClaimLast3Windscreen2 = document.getElementById('<%=txtClaimLast3Windscreen2.ClientID%>');

            CheckAndUpdateZeroValue(txtClaimLast3NAF2);
            CheckAndUpdateZeroValue(txtClaimLast3AF2);
            CheckAndUpdateZeroValue(txtClaimLast3Windscreen2);

            var cvClaimLast3NAF2 = document.getElementById('<%=cvClaimLast3NAF2.ClientID%>');
            var cvClaimLast3AF2 = document.getElementById('<%=cvClaimLast3AF2.ClientID%>');
            var cvClaimLast3Windscreen2 = document.getElementById('<%=cvClaimLast3Windscreen2.ClientID%>');

            if (txtClaimLast3NAF2.value == "0" && txtClaimLast3AF2.value == "0" && txtClaimLast3Windscreen2.value == "0") {

                ValidatorEnable(cvClaimLast3NAF2, true);
                cvClaimLast3NAF2.style.visibility = 'visible';

                ValidatorEnable(cvClaimLast3AF2, true);
                cvClaimLast3AF2.style.visibility = 'visible';

                ValidatorEnable(cvClaimLast3Windscreen2, true);
                cvClaimLast3Windscreen2.style.visibility = 'visible';

            }
            else {

                ValidatorEnable(cvClaimLast3NAF2, false);
                cvClaimLast3NAF2.style.visibility = 'hidden';

                ValidatorEnable(cvClaimLast3AF2, false);
                cvClaimLast3AF2.style.visibility = 'hidden';

                ValidatorEnable(cvClaimLast3Windscreen2, false);
                cvClaimLast3Windscreen2.style.visibility = 'hidden';

            }

            return true;
        }


        function CheckLast3Claim3(source, arguments) {
            var txtClaimLast3NAF3 = document.getElementById('<%=txtClaimLast3NAF3.ClientID%>');
            var txtClaimLast3AF3 = document.getElementById('<%=txtClaimLast3AF3.ClientID%>');
            var txtClaimLast3Windscreen3 = document.getElementById('<%=txtClaimLast3Windscreen3.ClientID%>');

            if (txtClaimLast3NAF3.value == "0" && txtClaimLast3AF3.value == "0" && txtClaimLast3Windscreen3.value == "0") {

                arguments.IsValid = false;
            }
            else {
                arguments.IsValid = true;
            }
        }

        function CheckLast3Claim3ValidationCss() {
            var txtClaimLast3NAF3 = document.getElementById('<%=txtClaimLast3NAF3.ClientID%>');
            var txtClaimLast3AF3 = document.getElementById('<%=txtClaimLast3AF3.ClientID%>');
            var txtClaimLast3Windscreen3 = document.getElementById('<%=txtClaimLast3Windscreen3.ClientID%>');

            CheckAndUpdateZeroValue(txtClaimLast3NAF3);
            CheckAndUpdateZeroValue(txtClaimLast3AF3);
            CheckAndUpdateZeroValue(txtClaimLast3Windscreen3);

            var cvClaimLast3NAF3 = document.getElementById('<%=cvClaimLast3NAF3.ClientID%>');
            var cvClaimLast3AF3 = document.getElementById('<%=cvClaimLast3AF3.ClientID%>');
            var cvClaimLast3Windscreen3 = document.getElementById('<%=cvClaimLast3Windscreen3.ClientID%>');

            if (txtClaimLast3NAF3.value == "0" && txtClaimLast3AF3.value == "0" && txtClaimLast3Windscreen3.value == "0") {

                ValidatorEnable(cvClaimLast3NAF3, true);
                cvClaimLast3NAF3.style.visibility = 'visible';

                ValidatorEnable(cvClaimLast3AF3, true);
                cvClaimLast3AF3.style.visibility = 'visible';

                ValidatorEnable(cvClaimLast3Windscreen3, true);
                cvClaimLast3Windscreen3.style.visibility = 'visible';

            }
            else {

                ValidatorEnable(cvClaimLast3NAF3, false);
                cvClaimLast3NAF3.style.visibility = 'hidden';

                ValidatorEnable(cvClaimLast3AF3, false);
                cvClaimLast3AF3.style.visibility = 'hidden';

                ValidatorEnable(cvClaimLast3Windscreen3, false);
                cvClaimLast3Windscreen3.style.visibility = 'hidden';

            }

            return true;
        }
        //End of Last3

        //Last2
        function CheckLast2Claim1(source, arguments) {
            var txtClaimLast2NAF1 = document.getElementById('<%=txtClaimLast2NAF1.ClientID%>');
            var txtClaimLast2AF1 = document.getElementById('<%=txtClaimLast2AF1.ClientID%>');
            var txtClaimLast2Windscreen1 = document.getElementById('<%=txtClaimLast2Windscreen1.ClientID%>');

            if (txtClaimLast2NAF1.value == "0" && txtClaimLast2AF1.value == "0" && txtClaimLast2Windscreen1.value == "0") {

                arguments.IsValid = false;
            }
            else {
                arguments.IsValid = true;
            }
        }

        function CheckLast2Claim1ValidationCss() {
            var txtClaimLast2NAF1 = document.getElementById('<%=txtClaimLast2NAF1.ClientID%>');
            var txtClaimLast2AF1 = document.getElementById('<%=txtClaimLast2AF1.ClientID%>');
            var txtClaimLast2Windscreen1 = document.getElementById('<%=txtClaimLast2Windscreen1.ClientID%>');

            CheckAndUpdateZeroValue(txtClaimLast2NAF1);
            CheckAndUpdateZeroValue(txtClaimLast2AF1);
            CheckAndUpdateZeroValue(txtClaimLast2Windscreen1);

            var cvClaimLast2NAF1 = document.getElementById('<%=cvClaimLast2NAF1.ClientID%>');
            var cvClaimLast2AF1 = document.getElementById('<%=cvClaimLast2AF1.ClientID%>');
            var cvClaimLast2Windscreen1 = document.getElementById('<%=cvClaimLast2Windscreen1.ClientID%>');

            if (txtClaimLast2NAF1.value == "0" && txtClaimLast2AF1.value == "0" && txtClaimLast2Windscreen1.value == "0") {

                ValidatorEnable(cvClaimLast2NAF1, true);
                cvClaimLast2NAF1.style.visibility = 'visible';

                ValidatorEnable(cvClaimLast2AF1, true);
                cvClaimLast2AF1.style.visibility = 'visible';

                ValidatorEnable(cvClaimLast2Windscreen1, true);
                cvClaimLast2Windscreen1.style.visibility = 'visible';

            }
            else {

                ValidatorEnable(cvClaimLast2NAF1, false);
                cvClaimLast2NAF1.style.visibility = 'hidden';

                ValidatorEnable(cvClaimLast2AF1, false);
                cvClaimLast2AF1.style.visibility = 'hidden';

                ValidatorEnable(cvClaimLast2Windscreen1, false);
                cvClaimLast2Windscreen1.style.visibility = 'hidden';

            }

            return true;
        }


        function CheckLast2Claim2(source, arguments) {
            var txtClaimLast2NAF2 = document.getElementById('<%=txtClaimLast2NAF2.ClientID%>');
            var txtClaimLast2AF2 = document.getElementById('<%=txtClaimLast2AF2.ClientID%>');
            var txtClaimLast2Windscreen2 = document.getElementById('<%=txtClaimLast2Windscreen2.ClientID%>');

            if (txtClaimLast2NAF2.value == "0" && txtClaimLast2AF2.value == "0" && txtClaimLast2Windscreen2.value == "0") {

                arguments.IsValid = false;
            }
            else {
                arguments.IsValid = true;
            }
        }

        function CheckLast2Claim2ValidationCss() {
            var txtClaimLast2NAF2 = document.getElementById('<%=txtClaimLast2NAF2.ClientID%>');
            var txtClaimLast2AF2 = document.getElementById('<%=txtClaimLast2AF2.ClientID%>');
            var txtClaimLast2Windscreen2 = document.getElementById('<%=txtClaimLast2Windscreen2.ClientID%>');

            CheckAndUpdateZeroValue(txtClaimLast2NAF2);
            CheckAndUpdateZeroValue(txtClaimLast2AF2);
            CheckAndUpdateZeroValue(txtClaimLast2Windscreen2);

            var cvClaimLast2NAF2 = document.getElementById('<%=cvClaimLast2NAF2.ClientID%>');
            var cvClaimLast2AF2 = document.getElementById('<%=cvClaimLast2AF2.ClientID%>');
            var cvClaimLast2Windscreen2 = document.getElementById('<%=cvClaimLast2Windscreen2.ClientID%>');

            if (txtClaimLast2NAF2.value == "0" && txtClaimLast2AF2.value == "0" && txtClaimLast2Windscreen2.value == "0") {

                ValidatorEnable(cvClaimLast2NAF2, true);
                cvClaimLast2NAF2.style.visibility = 'visible';

                ValidatorEnable(cvClaimLast2AF2, true);
                cvClaimLast2AF2.style.visibility = 'visible';

                ValidatorEnable(cvClaimLast2Windscreen2, true);
                cvClaimLast2Windscreen2.style.visibility = 'visible';

            }
            else {

                ValidatorEnable(cvClaimLast2NAF2, false);
                cvClaimLast2NAF2.style.visibility = 'hidden';

                ValidatorEnable(cvClaimLast2AF2, false);
                cvClaimLast2AF2.style.visibility = 'hidden';

                ValidatorEnable(cvClaimLast2Windscreen2, false);
                cvClaimLast2Windscreen2.style.visibility = 'hidden';

            }

            return true;
        }


        function CheckLast2Claim3(source, arguments) {
            var txtClaimLast2NAF3 = document.getElementById('<%=txtClaimLast2NAF3.ClientID%>');
            var txtClaimLast2AF3 = document.getElementById('<%=txtClaimLast2AF3.ClientID%>');
            var txtClaimLast2Windscreen3 = document.getElementById('<%=txtClaimLast2Windscreen3.ClientID%>');

            if (txtClaimLast2NAF3.value == "0" && txtClaimLast2AF3.value == "0" && txtClaimLast2Windscreen3.value == "0") {

                arguments.IsValid = false;
            }
            else {
                arguments.IsValid = true;
            }
        }

        function CheckLast2Claim3ValidationCss() {
            var txtClaimLast2NAF3 = document.getElementById('<%=txtClaimLast2NAF3.ClientID%>');
            var txtClaimLast2AF3 = document.getElementById('<%=txtClaimLast2AF3.ClientID%>');
            var txtClaimLast2Windscreen3 = document.getElementById('<%=txtClaimLast2Windscreen3.ClientID%>');

            CheckAndUpdateZeroValue(txtClaimLast2NAF3);
            CheckAndUpdateZeroValue(txtClaimLast2AF3);
            CheckAndUpdateZeroValue(txtClaimLast2Windscreen3);

            var cvClaimLast2NAF3 = document.getElementById('<%=cvClaimLast2NAF3.ClientID%>');
            var cvClaimLast2AF3 = document.getElementById('<%=cvClaimLast2AF3.ClientID%>');
            var cvClaimLast2Windscreen3 = document.getElementById('<%=cvClaimLast2Windscreen3.ClientID%>');

            if (txtClaimLast2NAF3.value == "0" && txtClaimLast2AF3.value == "0" && txtClaimLast2Windscreen3.value == "0") {

                ValidatorEnable(cvClaimLast2NAF3, true);
                cvClaimLast2NAF3.style.visibility = 'visible';

                ValidatorEnable(cvClaimLast2AF3, true);
                cvClaimLast2AF3.style.visibility = 'visible';

                ValidatorEnable(cvClaimLast2Windscreen3, true);
                cvClaimLast2Windscreen3.style.visibility = 'visible';

            }
            else {

                ValidatorEnable(cvClaimLast2NAF3, false);
                cvClaimLast2NAF3.style.visibility = 'hidden';

                ValidatorEnable(cvClaimLast2AF3, false);
                cvClaimLast2AF3.style.visibility = 'hidden';

                ValidatorEnable(cvClaimLast2Windscreen3, false);
                cvClaimLast2Windscreen3.style.visibility = 'hidden';

            }

            return true;
        }
        //End of Last2

        //Last 1
        function CheckLast1Claim1(source, arguments) {
            var txtClaimLast1NAF1 = document.getElementById('<%=txtClaimLast1NAF1.ClientID%>');
            var txtClaimLast1AF1 = document.getElementById('<%=txtClaimLast1AF1.ClientID%>');
            var txtClaimLast1Windscreen1 = document.getElementById('<%=txtClaimLast1Windscreen1.ClientID%>');

            if (txtClaimLast1NAF1.value == "0" && txtClaimLast1AF1.value == "0" && txtClaimLast1Windscreen1.value == "0") {

                arguments.IsValid = false;
            }
            else {
                arguments.IsValid = true;
            }
        }

        function CheckLast1Claim1ValidationCss() {
            var txtClaimLast1NAF1 = document.getElementById('<%=txtClaimLast1NAF1.ClientID%>');
            var txtClaimLast1AF1 = document.getElementById('<%=txtClaimLast1AF1.ClientID%>');
            var txtClaimLast1Windscreen1 = document.getElementById('<%=txtClaimLast1Windscreen1.ClientID%>');

            CheckAndUpdateZeroValue(txtClaimLast1NAF1);
            CheckAndUpdateZeroValue(txtClaimLast1AF1);
            CheckAndUpdateZeroValue(txtClaimLast1Windscreen1);

            var cvClaimLast1NAF1 = document.getElementById('<%=cvClaimLast1NAF1.ClientID%>');
            var cvClaimLast1AF1 = document.getElementById('<%=cvClaimLast1AF1.ClientID%>');
            var cvClaimLast1Windscreen1 = document.getElementById('<%=cvClaimLast1Windscreen1.ClientID%>');

            if (txtClaimLast1NAF1.value == "0" && txtClaimLast1AF1.value == "0" && txtClaimLast1Windscreen1.value == "0") {

                ValidatorEnable(cvClaimLast1NAF1, true);
                cvClaimLast1NAF1.style.visibility = 'visible';

                ValidatorEnable(cvClaimLast1AF1, true);
                cvClaimLast1AF1.style.visibility = 'visible';

                ValidatorEnable(cvClaimLast1Windscreen1, true);
                cvClaimLast1Windscreen1.style.visibility = 'visible';

            }
            else {

                ValidatorEnable(cvClaimLast1NAF1, false);
                cvClaimLast1NAF1.style.visibility = 'hidden';

                ValidatorEnable(cvClaimLast1AF1, false);
                cvClaimLast1AF1.style.visibility = 'hidden';

                ValidatorEnable(cvClaimLast1Windscreen1, false);
                cvClaimLast1Windscreen1.style.visibility = 'hidden';

            }

            return true;
        }


        function CheckLast1Claim2(source, arguments) {
            var txtClaimLast1NAF2 = document.getElementById('<%=txtClaimLast1NAF2.ClientID%>');
            var txtClaimLast1AF2 = document.getElementById('<%=txtClaimLast1AF2.ClientID%>');
            var txtClaimLast1Windscreen2 = document.getElementById('<%=txtClaimLast1Windscreen2.ClientID%>');

            if (txtClaimLast1NAF2.value == "0" && txtClaimLast1AF2.value == "0" && txtClaimLast1Windscreen2.value == "0") {

                arguments.IsValid = false;
            }
            else {
                arguments.IsValid = true;
            }
        }

        function CheckLast1Claim2ValidationCss() {
            var txtClaimLast1NAF2 = document.getElementById('<%=txtClaimLast1NAF2.ClientID%>');
            var txtClaimLast1AF2 = document.getElementById('<%=txtClaimLast1AF2.ClientID%>');
            var txtClaimLast1Windscreen2 = document.getElementById('<%=txtClaimLast1Windscreen2.ClientID%>');

            CheckAndUpdateZeroValue(txtClaimLast1NAF2);
            CheckAndUpdateZeroValue(txtClaimLast1AF2);
            CheckAndUpdateZeroValue(txtClaimLast1Windscreen2);

            var cvClaimLast1NAF2 = document.getElementById('<%=cvClaimLast1NAF2.ClientID%>');
            var cvClaimLast1AF2 = document.getElementById('<%=cvClaimLast1AF2.ClientID%>');
            var cvClaimLast1Windscreen2 = document.getElementById('<%=cvClaimLast1Windscreen2.ClientID%>');

            if (txtClaimLast1NAF2.value == "0" && txtClaimLast1AF2.value == "0" && txtClaimLast1Windscreen2.value == "0") {

                ValidatorEnable(cvClaimLast1NAF2, true);
                cvClaimLast1NAF2.style.visibility = 'visible';

                ValidatorEnable(cvClaimLast1AF2, true);
                cvClaimLast1AF2.style.visibility = 'visible';

                ValidatorEnable(cvClaimLast1Windscreen2, true);
                cvClaimLast1Windscreen2.style.visibility = 'visible';

            }
            else {

                ValidatorEnable(cvClaimLast1NAF2, false);
                cvClaimLast1NAF2.style.visibility = 'hidden';

                ValidatorEnable(cvClaimLast1AF2, false);
                cvClaimLast1AF2.style.visibility = 'hidden';

                ValidatorEnable(cvClaimLast1Windscreen2, false);
                cvClaimLast1Windscreen2.style.visibility = 'hidden';

            }

            return true;
        }


        function CheckLast1Claim3(source, arguments) {
            var txtClaimLast1NAF3 = document.getElementById('<%=txtClaimLast1NAF3.ClientID%>');
            var txtClaimLast1AF3 = document.getElementById('<%=txtClaimLast1AF3.ClientID%>');
            var txtClaimLast1Windscreen3 = document.getElementById('<%=txtClaimLast1Windscreen3.ClientID%>');

            if (txtClaimLast1NAF3.value == "0" && txtClaimLast1AF3.value == "0" && txtClaimLast1Windscreen3.value == "0") {

                arguments.IsValid = false;
            }
            else {
                arguments.IsValid = true;
            }
        }

        function CheckLast1Claim3ValidationCss() {
            var txtClaimLast1NAF3 = document.getElementById('<%=txtClaimLast1NAF3.ClientID%>');
            var txtClaimLast1AF3 = document.getElementById('<%=txtClaimLast1AF3.ClientID%>');
            var txtClaimLast1Windscreen3 = document.getElementById('<%=txtClaimLast1Windscreen3.ClientID%>');

            CheckAndUpdateZeroValue(txtClaimLast1NAF3);
            CheckAndUpdateZeroValue(txtClaimLast1AF3);
            CheckAndUpdateZeroValue(txtClaimLast1Windscreen3);

            var cvClaimLast1NAF3 = document.getElementById('<%=cvClaimLast1NAF3.ClientID%>');
            var cvClaimLast1AF3 = document.getElementById('<%=cvClaimLast1AF3.ClientID%>');
            var cvClaimLast1Windscreen3 = document.getElementById('<%=cvClaimLast1Windscreen3.ClientID%>');

            if (txtClaimLast1NAF3.value == "0" && txtClaimLast1AF3.value == "0" && txtClaimLast1Windscreen3.value == "0") {

                ValidatorEnable(cvClaimLast1NAF3, true);
                cvClaimLast1NAF3.style.visibility = 'visible';

                ValidatorEnable(cvClaimLast1AF3, true);
                cvClaimLast1AF3.style.visibility = 'visible';

                ValidatorEnable(cvClaimLast1Windscreen3, true);
                cvClaimLast1Windscreen3.style.visibility = 'visible';

            }
            else {

                ValidatorEnable(cvClaimLast1NAF3, false);
                cvClaimLast1NAF3.style.visibility = 'hidden';

                ValidatorEnable(cvClaimLast1AF3, false);
                cvClaimLast1AF3.style.visibility = 'hidden';

                ValidatorEnable(cvClaimLast1Windscreen3, false);
                cvClaimLast1Windscreen3.style.visibility = 'hidden';

            }

            return true;
        }
        //End of Last1


        function CheckAndUpdateZeroValue(txtText) {
            //alert(txtText.value);
            try {
                txtText.value = txtText.value.split(' ').join('');

                //alert(txtText.value);
                if (txtText.value.length == 0) {
                    txtText.value = '0';
                    //alert(txtText.value);
                }

                txtText.value = parseFloat(txtText.value.toString());
            }
            catch (ex) {
                txtText.value = '0';
            }
            //alert(txtText.value);
        }

        function CheckRenewalQuoteValidationCss() {
            var txtRenewalQuoteReceived = document.getElementById('<%=txtRenewalQuoteReceived.ClientID%>');

            CheckAndUpdateZeroValue(txtRenewalQuoteReceived);

            var cvRenewalQuote = document.getElementById('<%=cvRenewalQuote.ClientID%>');

            iRenewalQuote = 0;

            if (txtRenewalQuoteReceived.value != "0") {
                iRenewalQuote = txtRenewalQuoteReceived.value;
                if (iRenewalQuote < 100 || iRenewalQuote > 30000) {
                    ValidatorEnable(cvRenewalQuote, true);
                    cvRenewalQuote.style.visibility = 'visible';

                }
                else {
                    ValidatorEnable(cvRenewalQuote, false);
                    cvRenewalQuote.style.visibility = 'hidden';

                }

            }
            else {
                ValidatorEnable(cvRenewalQuote, true);
                cvRenewalQuote.style.visibility = 'visible';

            }

            return true;
        }

        function CheckRenewalQuote(source, arguments) {
            var txtRenewalQuoteReceived = document.getElementById('<%=txtRenewalQuoteReceived.ClientID%>');

            iRenewalQuote = 0;

            if (txtRenewalQuoteReceived.value != "0") {
                iRenewalQuote = txtRenewalQuoteReceived.value;
                if (iRenewalQuote < 100 || iRenewalQuote > 30000) {
                    arguments.IsValid = false;
                }
                else {
                    arguments.IsValid = true;
                }

            }
            else {
                arguments.IsValid = false;
            }

        }

        function CheckOptionValidationCss() {
            CheckSuspensionValidationCss();
            CheckCancelledValidationCss();

            if (document.getElementById('<%=tblLast3Claim1.ClientID%>') != null) {
                CheckLast3Claim1ValidationCss();
            }

            if (document.getElementById('<%=tblLast3Claim2.ClientID%>') != null) {
                CheckLast3Claim2ValidationCss();
            }

            if (document.getElementById('<%=tblLast3Claim3.ClientID%>') != null) {
                CheckLast3Claim3ValidationCss();
            }

            if (document.getElementById('<%=tblLast2Claim1.ClientID%>') != null) {
                CheckLast2Claim1ValidationCss();
            }

            if (document.getElementById('<%=tblLast2Claim2.ClientID%>') != null) {
                CheckLast2Claim2ValidationCss();
            }

            if (document.getElementById('<%=tblLast2Claim3.ClientID%>') != null) {
                CheckLast2Claim3ValidationCss();
            }

            if (document.getElementById('<%=tblLast1Claim1.ClientID%>') != null) {
                CheckLast1Claim1ValidationCss();
            }

            if (document.getElementById('<%=tblLast1Claim2.ClientID%>') != null) {
                CheckLast1Claim2ValidationCss();
            }

            if (document.getElementById('<%=tblLast1Claim3.ClientID%>') != null) {
                CheckLast1Claim3ValidationCss();
            }

        }

        function restrictToNumbers(e) {
            //alert(e.which);

            if ([e.keyCode || e.which] == 46 || [e.keyCode || e.which] == 8 || [e.keyCode || e.which] == 37 || [e.keyCode || e.which] == 9 || [e.keyCode || e.which] == 39) //this is to allow backspace

                return true;

            if ([e.keyCode || e.which] < 48 || [e.keyCode || e.which] > 57)

                e.preventDefault ? e.preventDefault() : e.returnValue = false;

        }

        function CheckComprehensive() {

            if (document.getElementById('<%=ddlNoMatchCoverType.ClientID%>').value == '1') {
                document.getElementById('divCompre').style.display = '';

                var rfvComprehensive = document.getElementById('<%=rfvComprehensive.ClientID%>')
                ValidatorEnable(rfvComprehensive, true);
                rfvComprehensive.style.visibility = 'visible';
            }
            else {
                document.getElementById('divCompre').style.display = 'none';

                var rfvComprehensive = document.getElementById('<%=rfvComprehensive.ClientID%>')
                ValidatorEnable(rfvComprehensive, false);
                rfvComprehensive.style.visibility = 'hidden';
            }
        }

    </script>
    
    <script src="../includes/carinsurance/results.js" type="text/javascript"></script>
</asp:Content>
